|
||||||||||
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.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 . |
CLocation |
expandProperty(DockableProperty property)
Tries to create a location that resembles property . |
CDockable.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 . |
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 |
west(double size)
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, 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 TreeLocationRoot north(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public TreeLocationRoot south(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public TreeLocationRoot east(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 1
public TreeLocationRoot west(double size)
SplitDockStation
.
size
- the size of the space, between 0 and 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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |