Class CWorkingAreaLocation
java.lang.Object
bibliothek.gui.dock.common.CLocation
bibliothek.gui.dock.common.location.CSplitLocation
bibliothek.gui.dock.common.location.CWorkingAreaLocation
A location representing a
CWorkingArea.- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaside()Returns aCLocationthat describes the location of an element that should be inserted next to this location.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 workingarea to which this location relates.toString()Methods inherited from class bibliothek.gui.dock.common.location.CSplitLocation
east, east, getParent, north, north, rectangle, south, south, stack, stack, west, westMethods inherited from class bibliothek.gui.dock.common.CLocation
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
-
Constructor Details
-
CWorkingAreaLocation
Creates a new location.- Parameters:
area- the area which is represented by this location
-
-
Method Details
-
getWorkingArea
Gets the workingarea to which this location relates.- Returns:
- the area or
nullif the default center is meant.
-
aside
Description copied from class:CLocationReturns aCLocationthat describes the location of an element that should be inserted next to this location.- Overrides:
asidein classCSplitLocation- Returns:
- the new location
-
findMode
Description copied from class:CLocationGets the mode this location represents.- Overrides:
findModein classCSplitLocation- Returns:
- the mode or
null
-
findProperty
Description copied from class:CLocationGets a path describing this location in terms of the DockingFrames.- Overrides:
findPropertyin classCSplitLocation- 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.- Overrides:
findRootin classCSplitLocation- Returns:
- the name of the station or
nullif this location does not have enough information to find the root
-
toString
- Overrides:
toStringin classCSplitLocation
-