public class RMTableRow extends RMSwitchShape
Modifier and Type | Class and Description |
---|---|
static class |
RMTableRow.ColumnResizeMode |
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
Modifier and Type | Field and Description |
---|---|
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 |
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.
|
boolean |
childrenSuperSelectImmediately()
Editor method - states that children super-select immediately when table row is structured.
|
java.awt.Shape |
getClipShape()
Returns clip shape for shape.
|
RMTextShape |
getColumn(int anIndex)
Returns the column at the given index (assumes row is structured and column is RMTextShape).
|
boolean |
getDeleteVerticalSpansOfHiddenShapes()
Returns whether layout deletes vertical spans of hidden shapes.
|
double |
getMinSplitHeight()
Returns the minimum distance in points from the top of the row that this row can split.
|
double |
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).
|
java.lang.String |
getPageBreakKey()
Returns the key used to determine whether row should force a page break.
|
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 |
getShiftShapesBelowHiddenShapesUp()
Returns whether to shift shapes below hidden shapes up.
|
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.
|
RMTable |
getTable()
Returns the parent of this table row.
|
java.lang.String |
getTitle()
Returns the title for this table row.
|
boolean |
isStructured()
Returns whether this table row is structured.
|
void |
paintShape(RMShapePainter aPntr)
Paints table row.
|
void |
setDeleteVerticalSpansOfHiddenShapes(boolean aValue)
Sets whether layout deletes vertical spans of hidden shapes.
|
void |
setMinSplitHeight(double aValue)
Sets the minimum distance in points from the top of the row that this row can split.
|
void |
setMinSplitRemainderHeight(double 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 aCount)
Sets the number of columns in this table row.
|
void |
setPageBreakKey(java.lang.String aString)
Sets the key used to determine whether row should force a page break.
|
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 |
setShiftShapesBelowHiddenShapesUp(boolean aValue)
Sets whether to shift shapes below hidden shapes up.
|
void |
setStructured(boolean aFlag)
Sets whether this table row should be structured.
|
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.
|
void |
setTitle(java.lang.String aTitle)
Sets the title for this table row.
|
void |
syncStructureWithShape(RMParentShape 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.
|
acceptsChildren, clone, cloneDeep, getAlternates, getAlternates, getChildAnimator, getDefaultVersionName, getVersion, getVersion, getVersionKey, getVersionNames, hasVersion, removeVersion, rpgAll, setVersion, setVersionKey, setWidth, superSelectable, toXML
addChild, addChild, addChild, bringShapesToFront, divideShapeFromTop, fromXML, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isSourceURLSet, layout, relayout, removeChild, removeChild, removeChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL
acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChildAnimator, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isUnderlined, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, rpgBindings, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setTime, setUnderlined, setURL, setVisible, setX, setXY, setXY, setXYP, setY, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
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 RMTableRow()
public RMTableRow(boolean isStructured)
public RMTable getTable()
public java.lang.String getTitle()
public void setTitle(java.lang.String aTitle)
public boolean isStructured()
public void setStructured(boolean aFlag)
public boolean getSyncStructureWithRowAbove()
public void setSyncStructureWithRowAbove(boolean aFlag)
public boolean getSyncStructureWithAlternates()
public void setSyncStructureWithAlternates(boolean aFlag)
public RMTextShape getColumn(int anIndex)
public int getNumberOfColumns()
public void setNumberOfColumns(int aCount)
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 double getMinSplitHeight()
public void setMinSplitHeight(double aValue)
public double getMinSplitRemainderHeight()
public void setMinSplitRemainderHeight(double aValue)
public java.lang.String getPageBreakKey()
public void setPageBreakKey(java.lang.String aString)
public boolean getDeleteVerticalSpansOfHiddenShapes()
public void setDeleteVerticalSpansOfHiddenShapes(boolean aValue)
public boolean getShiftShapesBelowHiddenShapesUp()
public void setShiftShapesBelowHiddenShapesUp(boolean aValue)
public void syncStructureWithShape(RMParentShape aShape)
public RMTableRow getRowAbove()
public void addChild(RMShape aChild, int anIndex)
addChild
in class RMParentShape
public boolean childrenSuperSelectImmediately()
childrenSuperSelectImmediately
in class RMShape
public void paintShape(RMShapePainter aPntr)
paintShape
in class RMSwitchShape
public java.awt.Shape getClipShape()
getClipShape
in class RMShape