Class CExtendedModeLocation
java.lang.Object
bibliothek.gui.dock.common.CLocation
bibliothek.gui.dock.common.location.CExtendedModeLocation
This location represents an
ExtendedMode. Using this location on a
CDockable is equivalent of calling CDockable.setExtendedMode(bibliothek.gui.dock.common.mode.ExtendedMode).- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaside()Deprecated.expandProperty(DockableProperty property, CLocationExpandStrategy strategy) Tries to create a location that resemblesproperty.findMode()Gets the mode this location represents.findProperty(DockableProperty successor) Gets a path describing this location in terms of the DockingFrames.findRoot()Gets the name of the station this location belongs to.Gets the parent location of this location.
-
Constructor Details
-
CExtendedModeLocation
Creates a new location.- Parameters:
mode- the mode this location represents, notnull
-
-
Method Details
-
getParent
Description copied from class:CLocationGets the parent location of this location. Some root-locations may never have a parent. -
aside
Deprecated.seeCLocation.aside()for an explanation.Description copied from class:CLocationReturns aCLocationthat describes the location of an element that should be inserted next to this location. -
expandProperty
Description copied from class:CLocationTries to create a location that resemblesproperty.- Overrides:
expandPropertyin classCLocation- Parameters:
property- some locationstrategy- a strategy helping to convert the properties- Returns:
- a location whose
CLocation.findProperty()would createpropertyagain, ornullin case thatpropertycan't be used
-
findMode
Description copied from class:CLocationGets the mode this location represents. -
findProperty
Description copied from class:CLocationGets a path describing this location in terms of the DockingFrames.- Specified by:
findPropertyin classCLocation- Parameters:
successor- the path of the elements above this location ornull- Returns:
- the path to this location or
null, can also besuccessor
-
findRoot
Description copied from class:CLocationGets the name of the station this location belongs to. This can be the id of anyCStation.
-
CLocation.aside()for an explanation.