Package com.reportmill.shape
Class RMTableGroup
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.shape.RMShape
- 
- com.reportmill.shape.RMTableGroup
 
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 
 public class RMTableGroup extends RMShape 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.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RMTableGroup()Creates a basic (empty) table group.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsChildren()Editor method - inidcates that table group doesn't accept children.voidaddChildTable(RMTable aTable)Adds the given table as a child to the main table.voidaddChildTable(RMTable aTable, RMTable aParentTable)Adds the given table as a child of the given parent table.voidaddChildTable(RMTable aTable, RMTable aParentTable, RMTable afterThisTable)Adds the given table table as a child of the parent table (after the third given table).voidaddPeerTable(RMTable aTable)Adds the given table to the main table's list of peers.voidaddPeerTable(RMTable aTable, RMTable afterThisTable)Adds the given table as a peer, and just after, the second given table.booleancanBeUngrouped()Editor method - indicates that table group can't be ungrouped.booleanchildrenSuperSelectImmediately()Edtior method - indicates that table group children (tables) super select immediately.java.lang.Objectclone()Standard clone implementation.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.voidfromXML(RXArchiver anArchiver, RXElement anElement, RMTable aParentTable)XML archival to recursively unarchive table group hierarchy.RMTablegetChildTable(int anIndex)Returns the top level table at the given index for this table group.RMTablegetChildTable(java.lang.Object aTable, int anIndex)Returns the specific child table of the given table at the given index.intgetChildTableCount()Returns the number of top level tables in this table group.intgetChildTableCount(java.lang.Object aTable)Returns the number of child tables for the given parent table.java.util.ListgetChildTables()Returns the list of top level tables for this table group.java.util.ListgetChildTables(java.lang.Object aTable)Returns the list of child tables for the given table.java.util.ListgetChildTables(java.lang.Object aTable, boolean create)Returns the list of child tables for the given table, creating the list if requested.java.lang.StringgetListKey()Returns the complete list key for the current main table (pre-pending list keys of parents).RMShapegetListKeyShape()Returns the main table.RMTablegetMainTable()Returns the currently selected table.RMTablegetParentTable(RMTable aTable)Returns the parent of the given table.RMTablegetPeerTableNext(RMTable aTable)Returns the next peer table of the given table.RMTablegetPeerTablePrevious(RMTable aTable)Returns the previous peer table of the given table.java.util.ListgetPeerTables(RMTable aTable)Returns the list of peer tables for a given table.intindexOf(RMTable aTable)Returns the index of the given table in its parent's child tables list.java.lang.ObjectinitWithArchiver(RMArchiver anArchiver)Legacy unarchival.voidmakeTableChildOfTable(RMTable aTable, java.lang.Object newParent)This method moves a table to a new parent (used for Move In and Move Out menus).voidmoveTable(RMTable aTable, int interval)This method moves a given table up or down in its peer list (used for Move Up & Move Down menus).voidremoveTable(RMTable aTable)This method removes a table from the table group.RMShaperpgClone(ReportMill aReportMill)Report generation method.voidrpgClonePreprocess(ReportMill aReportMill)Report generation method.voidsetMainTable(RMTable aTable)Sets the currently selected table.booleansuperSelectable()Editor method - indicates that table group is super selectable.RXElementtoXML(RXArchiver anArchiver)XML archival.voidtoXML(RXArchiver anArchiver, RXElement anElement, RMTable aParentTable)XML archival to recursively archive table group hierarchy.- 
Methods inherited from class com.reportmill.shape.RMShapeacceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, equals, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKeyDeep, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
 - 
Methods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
 
- 
 
- 
- 
- 
Method Detail- 
getMainTablepublic RMTable getMainTable() Returns the currently selected table.
 - 
setMainTablepublic void setMainTable(RMTable aTable) Sets the currently selected table.
 - 
getParentTablepublic RMTable getParentTable(RMTable aTable) Returns the parent of the given table.
 - 
indexOfpublic int indexOf(RMTable aTable) Returns the index of the given table in its parent's child tables list.
 - 
getPeerTablespublic java.util.List getPeerTables(RMTable aTable) Returns the list of peer tables for a given table.
 - 
getPeerTablePreviouspublic RMTable getPeerTablePrevious(RMTable aTable) Returns the previous peer table of the given table.
 - 
getPeerTableNextpublic RMTable getPeerTableNext(RMTable aTable) Returns the next peer table of the given table.
 - 
getChildTableCountpublic int getChildTableCount() Returns the number of top level tables in this table group.
 - 
getChildTablepublic RMTable getChildTable(int anIndex) Returns the top level table at the given index for this table group.
 - 
getChildTablespublic java.util.List getChildTables() Returns the list of top level tables for this table group.
 - 
getChildTableCountpublic int getChildTableCount(java.lang.Object aTable) Returns the number of child tables for the given parent table.
 - 
getChildTablepublic RMTable getChildTable(java.lang.Object aTable, int anIndex) Returns the specific child table of the given table at the given index.
 - 
getChildTablespublic java.util.List getChildTables(java.lang.Object aTable) Returns the list of child tables for the given table.
 - 
getChildTablespublic 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.
 - 
getListKeypublic java.lang.String getListKey() Returns the complete list key for the current main table (pre-pending list keys of parents).- Overrides:
- getListKeyin class- RMShape
 
 - 
getListKeyShapepublic RMShape getListKeyShape() Returns the main table.- Overrides:
- getListKeyShapein class- RMShape
 
 - 
addPeerTablepublic void addPeerTable(RMTable aTable) Adds the given table to the main table's list of peers.
 - 
addPeerTablepublic void addPeerTable(RMTable aTable, RMTable afterThisTable) Adds the given table as a peer, and just after, the second given table.
 - 
addChildTablepublic void addChildTable(RMTable aTable) Adds the given table as a child to the main table.
 - 
addChildTablepublic void addChildTable(RMTable aTable, RMTable aParentTable) Adds the given table as a child of the given parent table.
 - 
addChildTablepublic 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).
 - 
moveTablepublic 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).
 - 
makeTableChildOfTablepublic 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).
 - 
removeTablepublic void removeTable(RMTable aTable) This method removes a table from the table group.
 - 
rpgClonePreprocesspublic void rpgClonePreprocess(ReportMill aReportMill) Report generation method.- Overrides:
- rpgClonePreprocessin class- RMShape
 
 - 
rpgClonepublic RMShape rpgClone(ReportMill aReportMill) Report generation method.
 - 
clonepublic java.lang.Object clone() Standard clone implementation.
 - 
initWithArchiverpublic java.lang.Object initWithArchiver(RMArchiver anArchiver) Legacy unarchival.- Specified by:
- initWithArchiverin interface- RMArchiver.Archiving
- Overrides:
- initWithArchiverin class- RMShape
 
 - 
toXMLpublic RXElement toXML(RXArchiver anArchiver) XML archival.
 - 
fromXMLpublic java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.
 - 
toXMLpublic void toXML(RXArchiver anArchiver, RXElement anElement, RMTable aParentTable) XML archival to recursively archive table group hierarchy.
 - 
fromXMLpublic void fromXML(RXArchiver anArchiver, RXElement anElement, RMTable aParentTable) XML archival to recursively unarchive table group hierarchy.
 - 
superSelectablepublic boolean superSelectable() Editor method - indicates that table group is super selectable.- Overrides:
- superSelectablein class- RMShape
 
 - 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately() Edtior method - indicates that table group children (tables) super select immediately.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
 - 
canBeUngroupedpublic boolean canBeUngrouped() Editor method - indicates that table group can't be ungrouped.- Overrides:
- canBeUngroupedin class- RMShape
 
 - 
acceptsChildrenpublic boolean acceptsChildren() Editor method - inidcates that table group doesn't accept children.- Overrides:
- acceptsChildrenin class- RMShape
 
 
- 
 
-