public class RMTableRowLayout extends RMSpringLayout
RMSpringLayout.LayoutInfo
RMShapeLayout.DirectLayout, RMShapeLayout.FrameLayout
Constructor and Description |
---|
RMTableRowLayout()
Creates a new table row layout.
|
Modifier and Type | Method and Description |
---|---|
RMTableRow |
getParent()
Returns the parent as table row.
|
RMSize |
getPreferredSize(RMShape aShape,
float aMaxWidth,
float aMaxHeight)
Override to optimize structured case.
|
float |
getTotalChildWidth()
Returns the total width for table row's children.
|
void |
layoutParent(RMShape aShape)
Performs layout.
|
void |
reset()
Override to do nothing if structured.
|
void |
resizeColumns(RMTableRow aTableRow,
java.util.List<RMShape> children,
RMTableRow.ColumnResizeMode aMode)
Resizes columns based on given column resize mode.
|
void |
setBestHeight(RMShape aShape)
Override to optimize structured case.
|
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML Archival.
|
addLayoutChild, deleteVerticalSpansOfHiddenShapes, fromXML, getDeleteVerticalSpansOfHiddenShapes, getLayoutInfoX, getParentTracksBoundsOfChildren, getShapeBelowFrameY, getShiftShapesBelowHiddenShapesUp, propertyChange, removeLayoutChild, setDeleteVerticalSpansOfHiddenShapes, setParentBoundsFromChildren, setParentTracksBoundsOfChildren, setParentTracksBoundsOfChildren, setShiftShapesBelowHiddenShapesUp, shiftShapesBelowHiddenRect, shiftShapesBelowHiddenShapesUp
clone, doLayout, getMaximumSize, getMinimumSize, isHittableChild, isValid, isValidating, isVisibleChild, paintLayout, setLayoutInfoX, setParent, setValid
public RMTableRow getParent()
getParent
in class RMShapeLayout
public void reset()
reset
in class RMSpringLayout
public void layoutParent(RMShape aShape)
layoutParent
in class RMSpringLayout
public void resizeColumns(RMTableRow aTableRow, java.util.List<RMShape> children, RMTableRow.ColumnResizeMode aMode)
public float getTotalChildWidth()
public RMSize getPreferredSize(RMShape aShape, float aMaxWidth, float aMaxHeight)
getPreferredSize
in class RMShapeLayout
public void setBestHeight(RMShape aShape)
setBestHeight
in class RMSpringLayout
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXML
in class RMSpringLayout