|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.facile.station.split.LockedResizeLayoutManager.ResizeElement
protected abstract class LockedResizeLayoutManager.ResizeElement
Represents one node of the tree which represents the split-tree of
a SplitDockStation
.
Constructor Summary | |
---|---|
LockedResizeLayoutManager.ResizeElement(LockedResizeLayoutManager.ResizeElement parent)
Creates a new element. |
Method Summary | |
---|---|
abstract void |
adapt(double deltaWidth,
double deltaHeight)
Adapts the size of the children of this element given the size change the parent could provide. |
protected abstract LockedResizeLayoutManager.ResizeRequest |
createRequest()
Creates the initial request of changed sizes. |
protected abstract LockedResizeLayoutManager.ResizeElement[] |
getChildren()
Gets the children of this element. |
LockedResizeLayoutManager.ResizeElement |
getParent()
Gets the parent of this node |
LockedResizeLayoutManager.ResizeRequest |
getRequest()
Gets the initial request for the size change. |
LockedResizeLayoutManager.ResizeRoot |
getResizeRoot()
Gets the root of this tree. |
void |
prepareRequests()
Calls createRequest() on this and recursively
on all children. |
void |
prepareResize()
Called before the bounds of a tree are updated, can be used to store some properties that are later needed to create the LockedResizeLayoutManager.ResizeRequest . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockedResizeLayoutManager.ResizeElement(LockedResizeLayoutManager.ResizeElement parent)
parent
- the parent of this
Method Detail |
---|
public LockedResizeLayoutManager.ResizeElement getParent()
null
if this is a rootprotected abstract LockedResizeLayoutManager.ResizeRequest createRequest()
null
public LockedResizeLayoutManager.ResizeRequest getRequest()
null
protected abstract LockedResizeLayoutManager.ResizeElement[] getChildren()
null
public void prepareResize()
LockedResizeLayoutManager.ResizeRequest
.
public void prepareRequests()
createRequest()
on this
and recursively
on all children. Stores the result for later analysis.
public abstract void adapt(double deltaWidth, double deltaHeight)
deltaWidth
- the change of this elements widthdeltaHeight
- the change of this elements heightpublic LockedResizeLayoutManager.ResizeRoot getResizeRoot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |