|
ReportMill 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMTableGroup
This class manages a heirarchy of tables so that multiple tables can be configured to display in the same area of a given page. Each table will pick up exactly where the previous table ended.
| Field Summary |
| Fields inherited from class com.reportmill.shape.RMShape |
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth, WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
| Constructor Summary | |
RMTableGroup()
Creates a basic (empty) table group. |
|
| Method Summary | |
boolean |
acceptsChildren()
Editor method - inidcates that table group doesn't accept children. |
boolean |
acceptsEvents()
Editor method - indicates that table group accepts events (for table group button in lower left). |
boolean |
acceptsFirstEvent()
Editor method - indicates that table group accepts first event. |
void |
addChildTable(RMTable aTable)
Adds the given table as a child to the main table. |
void |
addChildTable(RMTable aTable,
RMTable aParentTable)
Adds the given table as a child of the given parent table. |
void |
addChildTable(RMTable aTable,
RMTable aParentTable,
RMTable afterThisTable)
Adds the given table table as a child of the parent table (after the third given table). |
void |
addPeerTable(RMTable aTable)
Adds the given table to the main table's list of peers. |
void |
addPeerTable(RMTable aTable,
RMTable afterThisTable)
Adds the given table as a peer, and just after, the second given table. |
boolean |
canBeUngrouped()
Editor method - indicates that table group can't be ungrouped. |
boolean |
childrenSuperSelectImmediately()
Edtior method - indicates that table group children (tables) super select immediately. |
java.lang.Object |
clone()
Standard clone implementation. |
java.lang.Object |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
XML unarchival. |
void |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement,
RMTable aParentTable)
XML archival to recursively unarchive table group hierarchy. |
RMTable |
getChildTable(int anIndex)
Returns the top level table at the given index for this table group. |
RMTable |
getChildTable(java.lang.Object aTable,
int anIndex)
Returns the specific child table of the given table at the given index. |
int |
getChildTableCount()
Returns the number of top level tables in this table group. |
int |
getChildTableCount(java.lang.Object aTable)
Returns the number of child tables for the given parent table. |
java.util.List |
getChildTables()
Returns the list of top level tables for this table group. |
java.util.List |
getChildTables(java.lang.Object aTable)
Returns the list of child tables for the given table. |
java.util.List |
getChildTables(java.lang.Object aTable,
boolean create)
Returns the list of child tables for the given table, creating the list if requested. |
java.lang.String |
getListKey()
Returns the complete list key for the current main table (pre-pending list keys of parents). |
RMShape |
getListKeyShape()
Returns the main table. |
RMTable |
getMainTable()
Returns the currently selected table. |
RMTable |
getParentTable(RMTable aTable)
Returns the parent of the given table. |
RMTable |
getPeerTableNext(RMTable aTable)
Returns the next peer table of the given table. |
RMTable |
getPeerTablePrevious(RMTable aTable)
Returns the previous peer table of the given table. |
java.util.List |
getPeerTables(RMTable aTable)
Returns the list of peer tables for a given table. |
int |
indexOf(RMTable aTable)
Returns the index of the given table in its parent's child tables list. |
java.lang.Object |
initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
Legacy unarchival. |
void |
makeTableChildOfTable(RMTable aTable,
java.lang.Object newParent)
This method moves a table to a new parent (used for Move In and Move Out menus). |
void |
moveTable(RMTable aTable,
int interval)
This method moves a given table up or down in its peer list (used for Move Up & Move Down menus). |
void |
removeTable(RMTable aTable)
This method removes a table from the table group. |
RMShape |
rpgClone(com.reportmill.base.ReportMill aReportMill)
Report generation method. |
void |
rpgClonePreprocess(com.reportmill.base.ReportMill aReportMill)
Report generation method. |
void |
setMainTable(RMTable aTable)
Sets the currently selected table. |
boolean |
superSelectable()
Editor method - indicates that table group is super selectable. |
com.ribs.RXElement |
toXML(com.ribs.RXArchiver anArchiver)
XML archival. |
void |
toXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement,
RMTable aParentTable)
XML archival to recursively archive table group hierarchy. |
| Methods inherited from class com.reportmill.base.RMObject |
didUndo, getAnimAttribute, getClassNameShort |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RMTableGroup()
| Method Detail |
public RMTable getMainTable()
public void setMainTable(RMTable aTable)
public RMTable getParentTable(RMTable aTable)
public int indexOf(RMTable aTable)
public java.util.List getPeerTables(RMTable aTable)
public RMTable getPeerTablePrevious(RMTable aTable)
public RMTable getPeerTableNext(RMTable aTable)
public int getChildTableCount()
public RMTable getChildTable(int anIndex)
public java.util.List getChildTables()
public int getChildTableCount(java.lang.Object aTable)
public RMTable getChildTable(java.lang.Object aTable,
int anIndex)
public java.util.List getChildTables(java.lang.Object aTable)
public java.util.List getChildTables(java.lang.Object aTable,
boolean create)
public java.lang.String getListKey()
getListKey in class RMShapepublic RMShape getListKeyShape()
getListKeyShape in class RMShapepublic void addPeerTable(RMTable aTable)
public void addPeerTable(RMTable aTable,
RMTable afterThisTable)
public void addChildTable(RMTable aTable)
public void addChildTable(RMTable aTable,
RMTable aParentTable)
public void addChildTable(RMTable aTable,
RMTable aParentTable,
RMTable afterThisTable)
public void moveTable(RMTable aTable,
int interval)
public void makeTableChildOfTable(RMTable aTable,
java.lang.Object newParent)
public void removeTable(RMTable aTable)
public void rpgClonePreprocess(com.reportmill.base.ReportMill aReportMill)
rpgClonePreprocess in class RMShapepublic RMShape rpgClone(com.reportmill.base.ReportMill aReportMill)
rpgClone in class RMShapepublic java.lang.Object clone()
clone in class RMShapepublic java.lang.Object initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
initWithArchiver in interface com.reportmill.base.RMArchiver.ArchivinginitWithArchiver in class RMShapepublic com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
toXML in class RMShape
public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
fromXML in class RMShape
public void toXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement,
RMTable aParentTable)
public void fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement,
RMTable aParentTable)
public boolean superSelectable()
superSelectable in class RMShapepublic boolean canBeUngrouped()
canBeUngrouped in class RMShapepublic boolean acceptsChildren()
acceptsChildren in class RMShapepublic boolean childrenSuperSelectImmediately()
childrenSuperSelectImmediately in class RMShapepublic boolean acceptsEvents()
acceptsEvents in class RMShapepublic boolean acceptsFirstEvent()
acceptsFirstEvent in class RMShape
|
ReportMill 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||