|
||||||||||
| 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.AbstractStackholdingLocation
bibliothek.gui.dock.common.location.CRectangleLocation
public class CRectangleLocation
A location describing a normalized element by giving its relative position and size (relative meaning that the element is positioned in a rectangle of size 1/1).
| Constructor Summary | |
|---|---|
CRectangleLocation(CSplitLocation parent,
double x,
double y,
double width,
double height)
Creates a new location. |
|
| Method Summary | |
|---|---|
CLocation |
aside()
Returns a CLocation that describes the location of an element
that should be inserted next to this location. |
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 |
toString()
|
| Methods inherited from class bibliothek.gui.dock.common.location.AbstractStackholdingLocation |
|---|
expandProperty, stack, stack |
| Methods inherited from class bibliothek.gui.dock.common.CLocation |
|---|
base, base, external, findProperty, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CRectangleLocation(CSplitLocation parent,
double x,
double y,
double width,
double height)
parent - the parent that knows the id of the root stationx - the relative x-coordinate, a value between 0 and 1 is preferredy - the relative y-coordinate, a value between 0 and 1 is preferredwidth - the relative width, a value between 0 and 1 is preferredheight - the relative height, a value between 0 and 1 is preferred| Method Detail |
|---|
public String findRoot()
CLocationCStation.
findRoot in class CLocationnull if this location
does not have enough information to find the rootpublic ExtendedMode findMode()
CLocation
findMode in class CLocationnullpublic DockableProperty findProperty(DockableProperty successor)
CLocation
findProperty in class CLocationsuccessor - the path of the elements above this location or null
nullpublic CLocation aside()
CLocationCLocation that describes the location of an element
that should be inserted next to this location.
aside in class CLocationpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||