jdbreport.model
Class AbstractGroup

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

public abstract class AbstractGroup
extends Object
implements Group

Version:
1.1 03/09/08
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
AbstractGroup(GroupsGroup parent)
           
 
Method Summary
 int[] getIndexPath()
           
 int getLevel()
           
 GroupsGroup getParent()
           
 Group[] getPath()
           
 boolean isVisible()
           
static String rowTypeToString(int type)
           
 void setParent(GroupsGroup parent)
           
 void setVisible(boolean visible)
           
static int stringToRowType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jdbreport.model.Group
clear, getChild, getChildCount, getChildIndex, getFirstGroupRow, getGroup, getHeight, getRowCount, getTotalResult, getType, getTypeName, getVisibleRowIterator, iterator, remove
 

Constructor Detail

AbstractGroup

public AbstractGroup(GroupsGroup parent)
Method Detail

rowTypeToString

public static String rowTypeToString(int type)

stringToRowType

public static int stringToRowType(String type)

getLevel

public int getLevel()
Specified by:
getLevel in interface Group

isVisible

public boolean isVisible()
Specified by:
isVisible in interface Group

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface Group

getParent

public GroupsGroup getParent()
Specified by:
getParent in interface Group

setParent

public void setParent(GroupsGroup parent)

getIndexPath

public int[] getIndexPath()
Specified by:
getIndexPath in interface Group

getPath

public Group[] getPath()
Specified by:
getPath in interface Group