|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.facile.station.split.ResizeElement<T> bibliothek.gui.dock.facile.station.split.ResizeRoot<T>
T
- the kind of meta-data clients usepublic class ResizeRoot<T>
Represents a Root
.
Constructor Summary | |
---|---|
ResizeRoot(LockedResizeLayoutManager<T> layout,
Root root)
Creates a new root-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 ResizeRequest |
createRequest()
Creates the initial request of changed sizes. |
ResizeElement<T> |
getChild()
Gets the one child of this root |
protected ResizeElement<T>[] |
getChildren()
Gets the children of this element. |
ResizeRoot<T> |
getResizeRoot()
Gets the root of this tree. |
Root |
getRoot()
Gets the root which is represented by this root-element. |
Methods inherited from class bibliothek.gui.dock.facile.station.split.ResizeElement |
---|
getLayout, getParent, getRequest, prepareRequests, prepareResize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResizeRoot(LockedResizeLayoutManager<T> layout, Root root)
layout
- the layout that uses this rootroot
- the root which is represented by this root-elementMethod Detail |
---|
public Root getRoot()
public ResizeRoot<T> getResizeRoot()
ResizeElement
getResizeRoot
in class ResizeElement<T>
public ResizeElement<T> getChild()
null
protected ResizeElement<T>[] getChildren()
ResizeElement
getChildren
in class ResizeElement<T>
null
protected ResizeRequest createRequest()
ResizeElement
createRequest
in class ResizeElement<T>
null
public void adapt(double deltaWidth, double deltaHeight)
ResizeElement
adapt
in class ResizeElement<T>
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 |