|
||||||||||
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
bibliothek.gui.dock.facile.station.split.LockedResizeLayoutManager.ResizeLeaf
protected class LockedResizeLayoutManager.ResizeLeaf
Represents a Leaf
.
Constructor Summary | |
---|---|
LockedResizeLayoutManager.ResizeLeaf(LockedResizeLayoutManager.ResizeElement parent,
Leaf leaf)
Creates a new leaf element. |
Method Summary | |
---|---|
void |
adapt(double deltaWidth,
double deltaHeight)
Adapts the size of the children of this element given the size change the parent could provide. |
protected LockedResizeLayoutManager.ResizeRequest |
createRequest()
Creates the initial request of changed sizes. |
protected LockedResizeLayoutManager.ResizeElement[] |
getChildren()
Gets the children of this element. |
Leaf |
getLeaf()
Gets the leaf which is represented by this leaf-element. |
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 bibliothek.gui.dock.facile.station.split.LockedResizeLayoutManager.ResizeElement |
---|
getParent, getRequest, getResizeRoot, prepareRequests |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockedResizeLayoutManager.ResizeLeaf(LockedResizeLayoutManager.ResizeElement parent, Leaf leaf)
parent
- the parent of this nodeleaf
- the leaf that is represented by this elementMethod Detail |
---|
public Leaf getLeaf()
protected LockedResizeLayoutManager.ResizeRequest createRequest()
LockedResizeLayoutManager.ResizeElement
createRequest
in class LockedResizeLayoutManager.ResizeElement
null
public void prepareResize()
LockedResizeLayoutManager.ResizeElement
LockedResizeLayoutManager.ResizeRequest
.
prepareResize
in class LockedResizeLayoutManager.ResizeElement
protected LockedResizeLayoutManager.ResizeElement[] getChildren()
LockedResizeLayoutManager.ResizeElement
getChildren
in class LockedResizeLayoutManager.ResizeElement
null
public void adapt(double deltaWidth, double deltaHeight)
LockedResizeLayoutManager.ResizeElement
adapt
in class LockedResizeLayoutManager.ResizeElement
deltaWidth
- the change of this elements widthdeltaHeight
- the change of this elements height
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |