|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.CLocation bibliothek.gui.dock.common.location.CSplitLocation
public abstract class CSplitLocation
This location is used to describe a SplitDockStation
.
Constructor Summary | |
---|---|
CSplitLocation()
|
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 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 . |
CLocation |
expandProperty(DockableProperty property)
Tries to create a location that resembles property . |
ExtendedMode |
findMode()
Gets the mode this location represents. |
DockableProperty |
findProperty(DockableProperty successor)
Gets a path describing this location in terms of the DockingFrames. |
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 . |
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 . |
Methods inherited from class bibliothek.gui.dock.common.CLocation |
---|
base, base, external, findProperty, findRoot, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSplitLocation()
Method Detail |
---|
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 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 height
public CStackLocation stack()
SplitDockStation
.
public CStackLocation stack(int index)
SplitDockStation
.
index
- the index within the stack
public TreeLocationRoot north(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public 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 -1
public TreeLocationRoot south(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public 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 -1
public TreeLocationRoot east(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public 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 -1
public TreeLocationRoot west(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public 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 -1
public CLocation expandProperty(DockableProperty property)
CLocation
property
.
expandProperty
in class CLocation
property
- some location
CLocation.findProperty()
would create
property
again, or null
in case that property
can't be usedpublic 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |