public class RMShapeLayout
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
RMShapeLayout() |
Modifier and Type | Method and Description |
---|---|
protected void |
addLayoutChild(RMShape aChild)
Called when a child is added to parent shape.
|
RMShapeLayout |
clone()
Standard clone implementation.
|
protected double |
computePrefHeight(double aWidth)
Returns the preferred with of the parent.
|
protected double |
computePrefWidth(double aHeight)
Returns the preferred with of the parent.
|
RMParentShape |
getParent()
Returns the parent for this layout.
|
protected void |
layoutChildren()
Performs layout.
|
protected void |
removeLayoutChild(RMShape aChild)
Called when a child is removed from parent shape.
|
void |
setParent(RMParentShape aParent)
Sets the parent for this layout.
|
public RMParentShape getParent()
public void setParent(RMParentShape aParent)
protected void layoutChildren()
protected double computePrefWidth(double aHeight)
protected double computePrefHeight(double aWidth)
protected void addLayoutChild(RMShape aChild)
protected void removeLayoutChild(RMShape aChild)
public RMShapeLayout clone()
clone
in class java.lang.Object