public class CSplitLocation extends CLocation
SplitDockStation
.findProperty
Constructor and Description |
---|
CSplitLocation()
Creates a new location
|
CSplitLocation(CLocation parent)
Creates a new location
|
Modifier and Type | Method and Description |
---|---|
CLocation |
aside()
Deprecated.
see
CLocation.aside() for an explanation. |
TreeLocationRoot |
east(double size)
Creates a location that describes a space in the right part of
the
SplitDockStation . |
TreeLocationRoot |
east(double size,
long nodeId)
Creates a location that describes a space in the right part of
the
SplitDockStation . |
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.
|
TreeLocationRoot |
north(double size)
Creates a location that describes a space in the upper part of
the
SplitDockStation . |
TreeLocationRoot |
north(double size,
long nodeId)
Creates a location that describes a space in the upper part of
the
SplitDockStation . |
CRectangleLocation |
rectangle(double x,
double y,
double width,
double height)
Creates a location which occupies a sub-rectangle of the
SplitDockStation
which is described by this location. |
TreeLocationRoot |
south(double size)
Creates a location that describes a space in the lower part of
the
SplitDockStation . |
TreeLocationRoot |
south(double size,
long nodeId)
Creates a location that describes a space in the lower part of
the
SplitDockStation . |
CStackLocation |
stack()
Creates a new location which represents a position in a stack
that covers the whole
SplitDockStation . |
CStackLocation |
stack(int index)
Creates a new location which represents a position in a stack
that covers the whole
SplitDockStation . |
java.lang.String |
toString() |
TreeLocationRoot |
west(double size)
Creates a location that describes a space in the left part of
the
SplitDockStation . |
TreeLocationRoot |
west(double size,
long nodeId)
Creates a location that describes a space in the left part of
the
SplitDockStation . |
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
public CSplitLocation()
public CSplitLocation(CLocation parent)
parent
- the parent location, can be null
@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 getParent()
CLocation
public CRectangleLocation rectangle(double x, double y, double width, double height)
SplitDockStation
which is described by this location. All arguments of this method must
be between 0 and 1, and x+width
and y+height
should
be smaller or equal to 1.x
- the relative x coordinatey
- the relative y coordinatewidth
- the relative widthheight
- the relative heightpublic CStackLocation stack()
SplitDockStation
.public CStackLocation stack(int index)
SplitDockStation
.index
- the index within the stackpublic TreeLocationRoot north(double size)
SplitDockStation
.size
- the size of the space, between 0 and 1public TreeLocationRoot north(double size, long nodeId)
SplitDockStation
.size
- the size of the space, between 0 and 1nodeId
- the unique identifier of the new node, can be -1public TreeLocationRoot south(double size)
SplitDockStation
.size
- the size of the space, between 0 and 1public TreeLocationRoot south(double size, long nodeId)
SplitDockStation
.size
- the size of the space, between 0 and 1nodeId
- the unique identifier of the new node, can be -1public TreeLocationRoot east(double size)
SplitDockStation
.size
- the size of the space, between 0 and 1public TreeLocationRoot east(double size, long nodeId)
SplitDockStation
.size
- the size of the space, between 0 and 1nodeId
- the unique identifier of the new node, can be -1public TreeLocationRoot west(double size)
SplitDockStation
.size
- the size of the space, between 0 and 1public TreeLocationRoot west(double size, long nodeId)
SplitDockStation
.size
- the size of the space, between 0 and 1nodeId
- the unique identifier of the new node, can be -1public ExtendedMode findMode()
CLocation
public java.lang.String findRoot()
CLocation
CStation
.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
public java.lang.String toString()
toString
in class java.lang.Object