|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.facile.station.split.DelegatingSplitLayoutManager
bibliothek.gui.dock.facile.station.split.LockedResizeLayoutManager<RequestDimension>
bibliothek.gui.dock.common.intern.station.CLockedResizeLayoutManager
@FrameworkOnly public class CLockedResizeLayoutManager
A LockedResizeLayoutManager that looks out for
CDockable.isResizeLockedVertically() and CDockable.isResizeLockedHorizontally().
| Constructor Summary | |
|---|---|
CLockedResizeLayoutManager()
Creates a new layout manager |
|
CLockedResizeLayoutManager(CControl control)
Creates a new layout manager |
|
CLockedResizeLayoutManager(SplitLayoutManager delegate)
Creates a new layout manager using delegate as
delegate for all tasks that have to be carried out. |
|
| Method Summary | |
|---|---|
ConflictResolver<RequestDimension> |
getConflictResolver()
Gets the policy that tells how two ResizeRequests are merged. |
ResizeRequest |
getRequest(RequestDimension size,
Leaf leaf)
Gets the size request that changes the size of leaf such
that it has a valid size again. |
RequestDimension |
prepareResize(Leaf leaf)
Called before the resize takes place, subclasses might store some properties. |
void |
setControl(CControl control)
Sets the control in whose realm this manager should work. |
| Methods inherited from class bibliothek.gui.dock.facile.station.split.LockedResizeLayoutManager |
|---|
asyncToElement, isResize, setConflictResolver, toElement, updateBounds, updateBoundsLocked |
| Methods inherited from class bibliothek.gui.dock.facile.station.split.DelegatingSplitLayoutManager |
|---|
calculateDivider, install, prepareDrop, prepareMove, uninstall, validateDivider, validatePutInfo, willMakeFullscreen |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CLockedResizeLayoutManager()
public CLockedResizeLayoutManager(CControl control)
control - the control in whose realm this manager workspublic CLockedResizeLayoutManager(SplitLayoutManager delegate)
delegate as
delegate for all tasks that have to be carried out.
delegate - the delegate used for standard tasks to carry out.| Method Detail |
|---|
public void setControl(CControl control)
control - the control, can be nullpublic ConflictResolver<RequestDimension> getConflictResolver()
LockedResizeLayoutManagerResizeRequests are merged.
getConflictResolver in class LockedResizeLayoutManager<RequestDimension>
public ResizeRequest getRequest(RequestDimension size,
Leaf leaf)
LockedResizeLayoutManagerleaf such
that it has a valid size again.
getRequest in class LockedResizeLayoutManager<RequestDimension>size - the data that was created in LockedResizeLayoutManager.prepareResize(Leaf) or nullleaf - the leaf which size is not yet valid.
nullpublic RequestDimension prepareResize(Leaf leaf)
LockedResizeLayoutManager
prepareResize in class LockedResizeLayoutManager<RequestDimension>leaf - some leaf
LockedResizeLayoutManager.getRequest(Object, Leaf),
can be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||