Package com.inductiveautomation.rm.shape
Class RMTableRowLayout
java.lang.Object
com.inductiveautomation.rm.shape.RMShapeLayout
com.inductiveautomation.rm.shape.RMSpringLayout
com.inductiveautomation.rm.shape.RMTableRowLayout
- All Implemented Interfaces:
PropertyChangeListener,Cloneable,EventListener
A shape layout implementation that handles layout of structured table rows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputePrefHeight(double aWidth) Override to optimize structured case.Returns the parent as table row.protected voidPerforms layout.voidreset()Override to do nothing if structured.Methods inherited from class com.inductiveautomation.rm.shape.RMSpringLayout
addLayoutChild, clone, computePrefWidth, propertyChange, removeLayoutChild, setParent
-
Constructor Details
-
RMTableRowLayout
public RMTableRowLayout()
-
-
Method Details
-
getParent
Returns the parent as table row.- Overrides:
getParentin classRMShapeLayout
-
reset
public void reset()Override to do nothing if structured.- Overrides:
resetin classRMSpringLayout
-
layoutChildren
protected void layoutChildren()Performs layout.- Overrides:
layoutChildrenin classRMSpringLayout
-
computePrefHeight
protected double computePrefHeight(double aWidth) Override to optimize structured case.- Overrides:
computePrefHeightin classRMSpringLayout
-