public class CExtendedModeLocation extends CLocation
ExtendedMode
. Using this location on a
CDockable
is equivalent of calling CDockable.setExtendedMode(bibliothek.gui.dock.common.mode.ExtendedMode)
.findProperty
Constructor and Description |
---|
CExtendedModeLocation(ExtendedMode mode)
Creates a new location.
|
Modifier and Type | Method and Description |
---|---|
CLocation |
aside()
Deprecated.
see
CLocation.aside() for an explanation. |
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.
|
java.lang.String |
findRoot()
Gets the name of the station this location belongs to.
|
CLocation |
getParent()
Gets the parent location of this location.
|
public CExtendedModeLocation(ExtendedMode mode)
mode
- the mode this location represents, not null
public CLocation getParent()
CLocation
@Deprecated public CLocation aside()
CLocation.aside()
for an explanation.CLocation
CLocation
that describes the location of an element
that should be inserted next to this location.public CLocation expandProperty(DockableProperty property, CLocationExpandStrategy strategy)
CLocation
property
.expandProperty
in class CLocation
property
- some locationstrategy
- a strategy helping to convert the propertiesCLocation.findProperty()
would create
property
again, or null
in case that property
can't be usedpublic ExtendedMode findMode()
CLocation
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