public class CWorkingAreaLocation extends CSplitLocation
CWorkingArea
.findProperty
Constructor and Description |
---|
CWorkingAreaLocation(CWorkingArea area)
Creates a new location.
|
Modifier and Type | Method and Description |
---|---|
CLocation |
aside()
Returns a
CLocation that describes the location of an element
that should be inserted next to this location. |
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.
|
CWorkingArea |
getWorkingArea()
Gets the workingarea to which this location relates.
|
String |
toString() |
east, east, getParent, north, north, rectangle, south, south, stack, stack, west, west
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
public CWorkingAreaLocation(CWorkingArea area)
area
- the area which is represented by this locationpublic CWorkingArea getWorkingArea()
null
if the default center is meant.public CLocation aside()
CLocation
CLocation
that describes the location of an element
that should be inserted next to this location.aside
in class CSplitLocation
public ExtendedMode findMode()
CLocation
findMode
in class CSplitLocation
null
public DockableProperty findProperty(DockableProperty successor)
CLocation
findProperty
in class CSplitLocation
successor
- the path of the elements above this location or null
null
, can also be successor
public String findRoot()
CLocation
CStation
.findRoot
in class CSplitLocation
null
if this location
does not have enough information to find the rootpublic String toString()
toString
in class CSplitLocation