|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.common.CLocation
bibliothek.gui.dock.common.location.CRootLocation
bibliothek.gui.dock.common.location.CWorkingAreaLocation
public class CWorkingAreaLocation
A location representing a CWorkingArea
.
Constructor Summary | |
---|---|
CWorkingAreaLocation(CWorkingArea area)
|
Method Summary | |
---|---|
CLocation |
aside()
Returns a CLocation that describes the location of an element
that should be inserted next to this location. |
TreeLocationRoot |
east(double size)
Creates a location describing a normalized element at the east of the normalized-area. |
CDockable.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. |
String |
findRootNormal()
Gets the id of the root if this root is used as normalized-area |
CWorkingArea |
getWorkingArea()
Gets the workingarea to which this location relates. |
TreeLocationRoot |
north(double size)
Creates a location describing a normalized element at the north of the normalized-area. |
CRectangleLocation |
rectangle(double x,
double y,
double width,
double height)
Creates a location describing a normalized element at a given location. |
TreeLocationRoot |
south(double size)
Creates a location describing a normalized element at the south of the normalized-area. |
TreeLocationRoot |
west(double size)
Creates a location describing a normalized element at the west of the normalized-area. |
Methods inherited from class bibliothek.gui.dock.common.CLocation |
---|
base, base, external, findProperty, maximized, working |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CWorkingAreaLocation(CWorkingArea area)
Method Detail |
---|
public CWorkingArea getWorkingArea()
null
if the default center is meant.public CRectangleLocation rectangle(double x, double y, double width, double height)
x
- the x-coordinate, a value between 0 and 1y
- the y-coordinate, a value between 0 and 1width
- the width, x + width
should be less or equal to 1height
- the height, y + height
should be less or equal to 1
public TreeLocationRoot north(double size)
size
- the relative size of the element, a value between 0 (no space)
and 1 (all space).
public TreeLocationRoot south(double size)
size
- the relative size of the element, a value between 0 (no space)
and 1 (all space).
public TreeLocationRoot east(double size)
size
- the relative size of the element, a value between 0 (no space)
and 1 (all space).
public TreeLocationRoot west(double size)
size
- the relative size of the element, a value between 0 (no space)
and 1 (all space).
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 String findRootNormal()
CRootLocation
findRootNormal
in class CRootLocation
public CDockable.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
public String findRoot()
CLocation
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 |