public class RMTableRow extends RMSwitchShape
Modifier and Type | Field and Description |
---|---|
static int |
_moveHandle |
static java.lang.String |
VersionAlternate |
static java.lang.String |
VersionFirstOnly |
static java.lang.String |
VersionReprint |
static java.lang.String |
VersionSplitHeader |
static java.lang.String |
VersionStandard |
static java.lang.String |
VersionTopNOthers |
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMTableRow()
Creates a plain, unstructured table row.
|
RMTableRow(boolean isStructured)
Creates a table row allowing the user to specify whether it should be structured.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(RMShape aChild,
int anIndex)
Overrides standard shape method to turn off structuring if child isn't text.
|
void |
arrange()
Recalcs column widths to fill table row width.
|
void |
arrangeWithShape(RMShape aShape)
Recalcs column widths to fill table row width.
|
void |
boundsChanged(RMShape shape)
Notification method - relays out children when bounds are changed.
|
boolean |
canBeUngrouped()
Editor method - states that this shape can't be ungrouped.
|
boolean |
childrenSuperSelectImmediately()
Editor method - states that children super-select immediately when table row is structured.
|
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.
|
RMText |
getColumn(int anIndex)
Returns the column at the given index (assumes row is structured and column is RMText).
|
float |
getMinSplitHeight()
Returns the minimum distance in points from the top of the row that this row can split.
|
float |
getMinSplitRemainderHeight()
Returns the minimum distance in points from the bottom of the row that this row can split.
|
boolean |
getMoveToBottom()
Returns whether this row should be moved to the bottom of the table during report generation.
|
int |
getNumberOfChildrenToStayWith()
Returns the number of children this table row needs to be accompanied by, if some children run off page bottom.
|
int |
getNumberOfColumns()
Returns the number of columns in this table row (really just child count).
|
boolean |
getPrintEvenIfGroupIsEmpty()
Returns whether this row should print even if it has no children (assumed to be a header/summary row).
|
boolean |
getReprintWhenWrapped()
Returns whether this row is reprinted on a new page when it's children cross a page boundary.
|
RMTableRow |
getRowAbove()
Returns the row above this one in the template.
|
boolean |
getSyncStructureWithAlternates()
Returns whether table row should synchronize the column widths of alternate versions.
|
boolean |
getSyncStructureWithRowAbove()
Returns whether table row should synchronize the column widths of the row immediately above it.
|
java.lang.String |
getTitle()
Returns the title for this table row in it's parent table.
|
java.lang.Object |
initWithArchiver(RMArchiver anArchiver)
Legacy unarchival.
|
boolean |
isStructured()
Returns whether this table row is structured.
|
RMShape |
rpgClone(ReportMill rm,
RMGroup group,
java.lang.String suggestedVersion)
This rpgClone method hands things off to RMTableRowRPG.
|
java.lang.Object |
rpgCloneBase()
This rpgCloneBase over-ride is used to substitute RMTableRowRPG as the class for the rpgClone.
|
void |
rpgCloneNotification(ReportMill rm,
RMShape copy)
Overrides shape method to suppress normal notification (will send after table row's version).
|
void |
setMinSplitHeight(float aValue)
Sets the minimum distance in points from the top of the row that this row can split.
|
void |
setMinSplitRemainderHeight(float aValue)
Sets the minimum distance in points from the top of the row that this row can split.
|
void |
setMoveToBottom(boolean aFlag)
Sets whether this row should be moved to the bottom of the table during report generation.
|
void |
setNumberOfChildrenToStayWith(int aValue)
Sets the number of children this table row needs to be accompanied by, if some children run off page bottom.
|
void |
setNumberOfColumns(int count)
Sets the number of columns in this table row.
|
void |
setPrintEvenIfGroupIsEmpty(boolean aFlag)
Returns whether this row should print even if it has no children (assumed to be a header/summary row).
|
void |
setReprintWhenWrapped(boolean aFlag)
Sets whether this row is reprinted on a new page when it's children cross a page boundary.
|
void |
setStructured(boolean aFlag)
Sets whether this table row should be structured.
|
void |
setStructured(boolean aFlag,
boolean fixColumns)
Sets whether this table row should be structured, with an option to re-layout children.
|
void |
setSyncStructureWithAlternates(boolean aFlag)
Sets whether table row should synchronize the column widths of alternate versions.
|
void |
setSyncStructureWithRowAbove(boolean aFlag)
Sets whether table row should synchronize the column widths of the row immediately above it.
|
boolean |
sizesToFitChildren()
Editor method.
|
void |
syncStructureWithShape(RMShape aShape)
The syncStructureWithShape() method sync's the column widths of receiver to those of given shape.
|
java.lang.String |
toString()
Returns a string description of the table row.
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
protected void |
transferAttributes(RMSwitchShape toShape)
Overrides switch shape method to specify additional attributes to be transferred when setVersion is called.
|
acceptsChildren, acceptsMouse, alternateShapeInstance, clone, cloneDeep, getAlternates, getChildAnimator, getDefaultVersionName, getVersion, getVersion, getVersionKey, getVersionNames, hasAlternateVersions, hasMouseVersions, hasVersion, mouseEntered, mouseExited, removeVersion, rpgClone, rpgClone, setAlternates, setVersion, setVersion, setVersionKey, setWidthDeep, superSelectable
acceptsDragKeys, acceptsFormat, addChild, addChildBelowLastChild, bounds, boundsChanged, bringShapesToFront, 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, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, 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, getListKey, 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, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneChildren, rpgCloneConclude, rpgClonePrepare, rpgClonePreprocess, 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, setWidthToFit, setX, setXY, setXY, setXYP, setY, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
didUndo, getAnimAttribute, getClassNameShort
public static final java.lang.String VersionStandard
public static final java.lang.String VersionFirstOnly
public static final java.lang.String VersionReprint
public static final java.lang.String VersionAlternate
public static final java.lang.String VersionTopNOthers
public static final java.lang.String VersionSplitHeader
public static int _moveHandle
public RMTableRow()
public RMTableRow(boolean isStructured)
public java.lang.String getTitle()
public boolean isStructured()
public void setStructured(boolean aFlag)
public void setStructured(boolean aFlag, boolean fixColumns)
public boolean getSyncStructureWithRowAbove()
public void setSyncStructureWithRowAbove(boolean aFlag)
public boolean getSyncStructureWithAlternates()
public void setSyncStructureWithAlternates(boolean aFlag)
public RMText getColumn(int anIndex)
public int getNumberOfColumns()
public void setNumberOfColumns(int count)
public int getNumberOfChildrenToStayWith()
public void setNumberOfChildrenToStayWith(int aValue)
public boolean getReprintWhenWrapped()
public void setReprintWhenWrapped(boolean aFlag)
public boolean getPrintEvenIfGroupIsEmpty()
public void setPrintEvenIfGroupIsEmpty(boolean aFlag)
public boolean getMoveToBottom()
public void setMoveToBottom(boolean aFlag)
public float getMinSplitHeight()
public void setMinSplitHeight(float aValue)
public float getMinSplitRemainderHeight()
public void setMinSplitRemainderHeight(float aValue)
public void arrange()
public void arrangeWithShape(RMShape aShape)
public void syncStructureWithShape(RMShape aShape)
public RMTableRow getRowAbove()
public void addChild(RMShape aChild, int anIndex)
protected void transferAttributes(RMSwitchShape toShape)
transferAttributes
in class RMSwitchShape
public java.lang.Object rpgCloneBase()
rpgCloneBase
in class RMShape
public RMShape rpgClone(ReportMill rm, RMGroup group, java.lang.String suggestedVersion)
public void rpgCloneNotification(ReportMill rm, RMShape copy)
rpgCloneNotification
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMSwitchShape
public void copy(java.lang.Object anObj)
copy
in class RMSwitchShape
public boolean canBeUngrouped()
canBeUngrouped
in class RMShape
public boolean childrenSuperSelectImmediately()
childrenSuperSelectImmediately
in class RMShape
public boolean sizesToFitChildren()
sizesToFitChildren
in class RMShape
public void boundsChanged(RMShape shape)
boundsChanged
in class RMShape
public RXElement toXML(RXArchiver anArchiver)
toXML
in class RMSwitchShape
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
fromXML
in class RMSwitchShape
public java.lang.Object initWithArchiver(RMArchiver anArchiver)
initWithArchiver
in interface RMArchiver.Archiving
initWithArchiver
in class RMSwitchShape