Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.output.table » base » [javadoc | source]
org.jfree.report.modules.output.table.base
public class: TableLayoutInfo [javadoc | source]
java.lang.Object
   org.jfree.report.modules.output.table.base.TableLayoutInfo

Direct Known Subclasses:
    HtmlLayoutInfo, RTFLayoutInfo

The tablelayout info class is used to store the layout that was generated in the repagination process. This layout can be shared over several pages to unify the look of the tables.
Constructor:
 public TableLayoutInfo(boolean globalLayout,
    PageFormat format) 
    Creates a new tablelayout info object to store the layout information.
    Parameters:
    globalLayout - whether to use a global layout for all pages
    format - the page format used in the report.
Method from org.jfree.report.modules.output.table.base.TableLayoutInfo Summary:
addLayout,   getLayoutForPage,   getPageCount,   getPageFormat,   isGlobalLayout
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.output.table.base.TableLayoutInfo Detail:
 public  void addLayout(TableGridBounds bounds) 
    Adds a layout for the next page to the layout information.
 public TableGridBounds getLayoutForPage(int page) 
    Returns the layout for a given page. This returns the same layout for all pages if the globallayout feature is enabled.
 public int getPageCount() 
    Return the number of pages stored in that list. This returns 1 if the global layout is active.
 public PageFormat getPageFormat() 
    Returns the page format assigned with this layout. This methods return type will change next release, when a better way of defining page sizes is introduced.
 public boolean isGlobalLayout() 
    Checks, whether to define a global layout.