public class CRectangleLocation extends AbstractStackholdingLocation
findProperty| Constructor and Description |
|---|
CRectangleLocation(CSplitLocation parent,
double x,
double y,
double width,
double height)
Creates a new location.
|
| Modifier and Type | Method and Description |
|---|---|
CLocation |
aside()
Deprecated.
see
CLocation.aside() for an explanation. |
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.
|
double |
getHeight()
Gest the relative height
|
CLocation |
getParent()
Gets the parent location of this location.
|
double |
getWidth()
Gets the relative width
|
double |
getX()
Gets the relative x-coordinate
|
double |
getY()
Gets the relative y-coordinate
|
String |
toString() |
stack, stackbase, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, workingpublic 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 preferredpublic double getX()
public double getY()
public double getWidth()
public double getHeight()
public String findRoot()
CLocationCStation.public CLocation getParent()
CLocationpublic ExtendedMode findMode()
CLocationpublic DockableProperty findProperty(DockableProperty successor)
CLocationfindProperty in class CLocationsuccessor - the path of the elements above this location or nullnull, can also be successor@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.Copyright © 2018. All rights reserved.