jdbreport.model
Class RootGroup

java.lang.Object
  extended by jdbreport.model.AbstractGroup
      extended by jdbreport.model.TreeRowGroup
          extended by jdbreport.model.RootGroup
All Implemented Interfaces:
Iterable<TableRow>, Group, GroupsGroup
Direct Known Subclasses:
RootRowGroup, TemplateRootGroup

public abstract class RootGroup
extends TreeRowGroup

Version:
2.0 26.07.2011
Author:
Andrey Kholmanskih

Field Summary
 
Fields inherited from interface jdbreport.model.Group
GROUP_DETAIL, ROW_DETAIL, ROW_FOOTER, ROW_GROUP_FOOTER, ROW_GROUP_HEADER, ROW_NONE, ROW_PAGE_FOOTER, ROW_PAGE_HEADER, ROW_TITLE, typeNames
 
Constructor Summary
RootGroup()
           
 
Method Summary
 int addGroup(int index, Group group)
           
 void clear()
          Removes all groups and rows from group
protected  Group createBaseGroup()
           
abstract  DetailGroup createDetailGroup()
           
 List<Group> getBodyGroups()
           
 List<DetailGroup> getDetailGroups()
           
 RowsGroup getFooterGroup()
           
 RowsGroup getGroup(TableRow row)
           
 RowsGroup getPageFooterGroup()
           
 RowsGroup getPageHeaderGroup()
           
 RowsGroup getTitleGroup()
           
 int getType()
           
 String getTypeName()
           
 
Methods inherited from class jdbreport.model.TreeRowGroup
createRowGroup, findGroup, getAllGroupIterator, getChild, getChildCount, getChildIndex, getChildList, getFirstGroupRow, getGroup, getGroupIterator, getHeight, getRowCount, getTotalResult, getVisibleRowIterator, iterator, remove
 
Methods inherited from class jdbreport.model.AbstractGroup
getIndexPath, getLevel, getParent, getPath, isVisible, rowTypeToString, setParent, setVisible, stringToRowType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jdbreport.model.GroupsGroup
addGroup
 
Methods inherited from interface jdbreport.model.Group
getIndexPath, getLevel, getParent, getPath, isVisible, setVisible
 

Constructor Detail

RootGroup

public RootGroup()
Method Detail

getType

public int getType()

getTypeName

public String getTypeName()

getGroup

public RowsGroup getGroup(TableRow row)
Specified by:
getGroup in interface Group
Overrides:
getGroup in class TreeRowGroup

getTitleGroup

public RowsGroup getTitleGroup()

getFooterGroup

public RowsGroup getFooterGroup()

getPageHeaderGroup

public RowsGroup getPageHeaderGroup()

getPageFooterGroup

public RowsGroup getPageFooterGroup()

createBaseGroup

protected Group createBaseGroup()

createDetailGroup

public abstract DetailGroup createDetailGroup()

getDetailGroups

public List<DetailGroup> getDetailGroups()

getBodyGroups

public List<Group> getBodyGroups()
Returns:
list of groups
Since:
1.4

addGroup

public int addGroup(int index,
                    Group group)
Specified by:
addGroup in class TreeRowGroup

clear

public void clear()
Description copied from interface: Group
Removes all groups and rows from group