|
||||||||||
| 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 class CSplitLocation
This location is used to describe a SplitDockStation.
| Constructor Summary | |
|---|---|
CSplitLocation()
Creates a new location |
|
CSplitLocation(CLocation parent)
Creates a new location |
|
| Method Summary | |
|---|---|
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. |
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. |
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. |
| Methods inherited from class bibliothek.gui.dock.common.CLocation |
|---|
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CSplitLocation()
public CSplitLocation(CLocation parent)
parent - the parent location, can be null| Method Detail |
|---|
@Deprecated public CLocation aside()
CLocation.aside() for an explanation.
CLocationCLocation that describes the location of an element
that should be inserted next to this location.
aside in class CLocationpublic CLocation getParent()
CLocation
getParent in class CLocationnull
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 ExtendedMode findMode()
CLocation
findMode in class CLocationnullpublic String findRoot()
CLocationCStation.
findRoot in class CLocationnull if this location
does not have enough information to find the rootpublic DockableProperty findProperty(DockableProperty successor)
CLocation
findProperty in class CLocationsuccessor - the path of the elements above this location or null
null, can also be successorpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||