ist.palcom.visualization.guicomponents.palcom
Class PalWindow.LeaseLayouter
java.lang.Object
ist.palcom.visualization.guicomponents.palcom.PalWindow.LeaseLayouter
- Enclosing class:
- PalWindow
protected class PalWindow.LeaseLayouter
- extends Object
|
Method Summary |
java.awt.Point |
getLease(Object object)
Gets a new lease for an object. |
void |
remove(Object component)
Removes the lease for the component if it
exists and creates an available lease in
its place. |
void |
reset()
Resets the lease layout. |
void |
setHeight(int height)
|
void |
setWidth(int width)
|
PalWindow.LeaseLayouter
public PalWindow.LeaseLayouter(int normHeight,
int normWidth)
remove
public void remove(Object component)
- Removes the lease for the component if it
exists and creates an available lease in
its place.
- Parameters:
component - The component to remove the lease for.
getLease
public java.awt.Point getLease(Object object)
- Gets a new lease for an object. Tries first to look up released leases
- Parameters:
object - The object to get a lease for - used as key
- Returns:
- a lease (as a point)
reset
public void reset()
- Resets the lease layout. Removes all layout'ed
components and all free leases.
setHeight
public void setHeight(int height)
setWidth
public void setWidth(int width)