public class RMTable extends RMSplitShape
Modifier and Type | Field and Description |
---|---|
static int |
DetailsPart |
static int |
HeaderPart |
static int |
SummaryPart |
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMTable()
Creates a plain table.
|
Modifier and Type | Method and Description |
---|---|
RMTableRow |
addDetails(java.lang.String aKey)
Adds a details row for the given grouping key.
|
void |
addGrouping(RMGrouping aGrouping,
int anIndex,
RMShape aHeader,
RMShape aDetails,
RMShape aSummary)
Adds a given grouping to the table at the givein grouping index.
|
void |
addGroupingKey(java.lang.String aKey)
Adds a grouping to the table for the given key string.
|
void |
addGroupingKey(java.lang.String aKey,
int anIndex,
RMShape aHeader,
RMShape aDetails,
RMShape aSummary)
Adds a grouping to the table for the given key string at the given grouping index.
|
RMTableRow |
addHeader(java.lang.String aKey)
Adds a header row for the given grouping key.
|
RMTableRow |
addSummary(java.lang.String aKey)
Adds a summary row for the given grouping key.
|
java.lang.Object |
clone()
Standard clone implementation.
|
void |
copy(java.lang.Object anObj)
Standard copy implementation.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXML(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
void |
fromXMLDeep(RXArchiver anArchiver,
RXElement anElement)
XML unarchival for shape children
|
float |
getColumnSpacing()
Returns the space between a table that has more than one column (int printer points).
|
java.lang.String |
getFilterKey()
Returns the optional key chain (expression) used to limit the table list derived from list key.
|
RMGrouper |
getGrouper()
Returns the grouper associated with the table.
|
RMGrouping |
getGrouping(int anIndex)
Returns the individual grouping at the given index.
|
RMGrouping |
getGrouping(java.lang.String aKey)
Returns the individual grouping that has the same key as the one given.
|
int |
getGroupingCount()
Returns the number of groups in this table.
|
java.lang.String |
getListKey()
Returns the list key associated with the table.
|
int |
getNumberOfColumns()
Returns the number of columns that this table should be repeated over on the same page before paginating.
|
int |
getPageBreakGroupIndex()
Returns the index of the grouping in the grouper at which an explicit.
|
java.lang.Boolean |
getPaginate()
Returns whether the table is supposed to be paginated.
|
RMTableRow |
getRow(int anIndex)
Returns the specific table row at the given index.
|
RMGrouping |
getSelectedGrouping()
Returns the currently selected grouping (while editing only).
|
int |
getSelectedGroupingIndex()
Returns the currently selected grouping's index (for editing, mostly).
|
RMSort |
getSelectedSort()
Returns the currently selected grouping's sort (while editing only).
|
int |
getSelectedSortIndex()
Returns the currently selected grouping's currently selected sort (for editing, mostly).
|
boolean |
getStartingPageBreak()
Returns whether this table should always start on a new page (if in table group).
|
void |
grouperWillChange()
Called whenever grouper will be changed to handle undo.
|
java.lang.Object |
initWithArchiver(RMArchiver anArchiver)
Legacy unarchival.
|
void |
moveGrouping(int index1,
int index2)
Moves the grouping at the first index so that it resides at the second index.
|
RMTableRow |
removeDetails(java.lang.String aKey)
Removes the details row for the given grouping key.
|
void |
removeGrouping(RMGrouping aGrouping)
Removes the given grouping.
|
RMTableRow |
removeHeader(java.lang.String aKey)
Removes the header row for the given grouping key.
|
RMTableRow |
removeSummary(java.lang.String aKey)
Removes the details row for the given grouping key.
|
RMShape |
rpgClone(ReportMill aReportMill)
Report generation method.
|
void |
rpgClonePreprocess(ReportMill aReportMill)
Report generation method.
|
void |
setColumnSpacing(float aValue)
Sets the space between a table that has more than one column (int printer points).
|
void |
setFilterKey(java.lang.String aKeyExpr)
Returns the optional key chain (expression) used to limit the table list derived from list key.
|
void |
setListKey(java.lang.String aKeyPath)
Sets the list key associated with the table.
|
void |
setNumberOfColumns(int aValue)
Sets the number of columns that this table should be repeated over on the same page before paginating.
|
void |
setPageBreakGroupIndex(int aValue)
Returns the index of the grouping in the grouper at which an explicit.
|
void |
setPaginate(java.lang.Boolean aValue)
Sets whether the table is supposed to be paginated.
|
void |
setSelectedGroupingIndex(int anIndex)
Sets the currently selected grouping by index (for editing, mostly).
|
void |
setSelectedSortIndex(int anIndex)
Sets the currently selected grouping's currently selected sort (for editing, mostly).
|
RMTableRow |
setShowGroupPart(int part,
int index,
boolean add)
Adds or removes header/details/summary row for a givein grouping index.
|
RMTableRow |
setShowGroupPart(int part,
java.lang.String aKey,
boolean add)
Adds or removes header/detail/summary rows for a given grouping key.
|
void |
setStartingPageBreak(boolean aFlag)
Sets whether this table should always start on a new page (if in table group).
|
java.lang.String |
toString()
Standard to string implementation (prints class name and shape bounds).
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
addChild, addChildWithTitle, arrangeChildren, canBeUngrouped, childrenSuperSelectImmediately, getChildWithTitle, getResizeBarAtPoint, getResizeBarBounds, getTitleForChild, removeChild, setHeightDeep, setWidthDeep, superSelectable
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, 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, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, 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, getListKeyShape, 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, 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, setHeightToFit, setLineWidth, 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, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
didUndo, getAnimAttribute, getClassNameShort
public static final int HeaderPart
public static final int DetailsPart
public static final int SummaryPart
public java.lang.String getListKey()
getListKey
in class RMShape
public void setListKey(java.lang.String aKeyPath)
setListKey
in class RMShape
public java.lang.String getFilterKey()
public void setFilterKey(java.lang.String aKeyExpr)
public RMGrouper getGrouper()
public java.lang.Boolean getPaginate()
public void setPaginate(java.lang.Boolean aValue)
public int getPageBreakGroupIndex()
public void setPageBreakGroupIndex(int aValue)
public boolean getStartingPageBreak()
public void setStartingPageBreak(boolean aFlag)
public int getNumberOfColumns()
public void setNumberOfColumns(int aValue)
public float getColumnSpacing()
public void setColumnSpacing(float aValue)
public int getGroupingCount()
public RMGrouping getGrouping(int anIndex)
public RMGrouping getGrouping(java.lang.String aKey)
public RMGrouping getSelectedGrouping()
public RMSort getSelectedSort()
public void addGroupingKey(java.lang.String aKey)
public void addGroupingKey(java.lang.String aKey, int anIndex, RMShape aHeader, RMShape aDetails, RMShape aSummary)
public void addGrouping(RMGrouping aGrouping, int anIndex, RMShape aHeader, RMShape aDetails, RMShape aSummary)
public void removeGrouping(RMGrouping aGrouping)
public void moveGrouping(int index1, int index2)
public RMTableRow getRow(int anIndex)
public RMTableRow addHeader(java.lang.String aKey)
public RMTableRow removeHeader(java.lang.String aKey)
public RMTableRow addDetails(java.lang.String aKey)
public RMTableRow removeDetails(java.lang.String aKey)
public RMTableRow addSummary(java.lang.String aKey)
public RMTableRow removeSummary(java.lang.String aKey)
public RMTableRow setShowGroupPart(int part, java.lang.String aKey, boolean add)
public RMTableRow setShowGroupPart(int part, int index, boolean add)
public void grouperWillChange()
public int getSelectedGroupingIndex()
public void setSelectedGroupingIndex(int anIndex)
public int getSelectedSortIndex()
public void setSelectedSortIndex(int anIndex)
public void rpgClonePreprocess(ReportMill aReportMill)
rpgClonePreprocess
in class RMShape
public RMShape rpgClone(ReportMill aReportMill)
public boolean equals(java.lang.Object anObj)
public java.lang.Object clone()
clone
in class RMSplitShape
public void copy(java.lang.Object anObj)
public java.lang.Object initWithArchiver(RMArchiver anArchiver)
initWithArchiver
in interface RMArchiver.Archiving
initWithArchiver
in class RMSplitShape
public RXElement toXML(RXArchiver anArchiver)
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
public void fromXMLDeep(RXArchiver anArchiver, RXElement anElement)
fromXMLDeep
in class RMShape