public class RMSpringLayout extends RMShapeLayout
Constructor and Description |
---|
RMSpringLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutChild(RMShape aChild)
Override to start listening to property changes.
|
RMSpringLayout |
clone()
Standard clone implementation.
|
double |
getBestHeight(RMShape aChild)
Returns child best height.
|
void |
propertyChange(PropChange anEvent)
Called to revalidate when shape bounds change.
|
void |
removeLayoutChild(RMShape aChild)
Override to stop listening to property changes.
|
void |
reset()
Update LayoutInfo for all children.
|
getParent, setParent
public void addLayoutChild(RMShape aChild)
public void removeLayoutChild(RMShape aChild)
public void reset()
public double getBestHeight(RMShape aChild)
public void propertyChange(PropChange anEvent)
public RMSpringLayout clone()
clone
in class RMShapeLayout