|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.CLocation bibliothek.gui.dock.common.location.CExtendedModeLocation
public class CExtendedModeLocation
This location represents an ExtendedMode
. Using this location on a
CDockable
is equivalent of calling CDockable.setExtendedMode(bibliothek.gui.dock.common.mode.ExtendedMode)
.
Constructor Summary | |
---|---|
CExtendedModeLocation(ExtendedMode mode)
Creates a new location. |
Method Summary | |
---|---|
CLocation |
aside()
Returns a CLocation that describes the location of an element
that should be inserted next to this location. |
CLocation |
expandProperty(DockableProperty property,
CLocationExpandStrategy strategy)
Tries to create a location that resembles property . |
ExtendedMode |
findMode()
Gets the mode this location represents. |
DockableProperty |
findProperty(DockableProperty successor)
Gets a path describing this location in terms of the DockingFrames. |
String |
findRoot()
Gets the name of the station this location belongs to. |
CLocation |
getParent()
Gets the parent location of this location. |
Methods inherited from class bibliothek.gui.dock.common.CLocation |
---|
base, base, equals, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CExtendedModeLocation(ExtendedMode mode)
mode
- the mode this location represents, not null
Method Detail |
---|
public CLocation getParent()
CLocation
getParent
in class CLocation
null
public CLocation aside()
CLocation
CLocation
that describes the location of an element
that should be inserted next to this location.
aside
in class CLocation
public CLocation expandProperty(DockableProperty property, CLocationExpandStrategy strategy)
CLocation
property
.
expandProperty
in class CLocation
property
- some locationstrategy
- a strategy helping to convert the properties
CLocation.findProperty()
would create
property
again, or null
in case that property
can't be usedpublic ExtendedMode findMode()
CLocation
findMode
in class CLocation
null
public DockableProperty findProperty(DockableProperty successor)
CLocation
findProperty
in class CLocation
successor
- the path of the elements above this location or null
null
, can also be successor
public String findRoot()
CLocation
CStation
.
findRoot
in class CLocation
null
if this location
does not have enough information to find the root
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |