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 double
computePrefHeight
(double aWidth) Override to optimize structured case.Returns the parent as table row.protected void
Performs layout.void
reset()
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:
getParent
in classRMShapeLayout
-
reset
public void reset()Override to do nothing if structured.- Overrides:
reset
in classRMSpringLayout
-
layoutChildren
protected void layoutChildren()Performs layout.- Overrides:
layoutChildren
in classRMSpringLayout
-
computePrefHeight
protected double computePrefHeight(double aWidth) Override to optimize structured case.- Overrides:
computePrefHeight
in classRMSpringLayout
-