|
||||||||||
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.AbstractStackholdingLocation bibliothek.gui.dock.common.location.CExternalizedLocation
public class CExternalizedLocation
A location representing an externalized element.
Field Summary | |
---|---|
static CLocation |
STATION
A location describing the externalize station with the id CControl.EXTERNALIZED_STATION_ID . |
Constructor Summary | |
---|---|
CExternalizedLocation(CLocation parent,
int x,
int y,
int width,
int height)
Creates a new location. |
|
CExternalizedLocation(int x,
int y,
int width,
int 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. |
java.lang.String |
findRoot()
Gets the name of the station this location belongs to. |
int |
getHeight()
Gets the height of the element. |
CLocation |
getParent()
Gets the parent location, if there is any. |
int |
getWidth()
Gets the width of the element. |
int |
getX()
Gets the left end of the element. |
int |
getY()
Gets the top end of the element. |
CMaximalExternalizedLocation |
maximize()
Returns a location describing an element with the coordinates of this location but that was maximized. |
java.lang.String |
toString()
|
Methods inherited from class bibliothek.gui.dock.common.location.AbstractStackholdingLocation |
---|
stack, stack |
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 |
Field Detail |
---|
public static final CLocation STATION
CControl.EXTERNALIZED_STATION_ID
.
Constructor Detail |
---|
public CExternalizedLocation(int x, int y, int width, int height)
x
- the x-coordinate in pixely
- the y-coordinate in pixelwidth
- the width in pixelheight
- the height in pixelpublic CExternalizedLocation(CLocation parent, int x, int y, int width, int height)
parent
- the parent location, can be null
x
- the x-coordinate in pixely
- the y-coordinate in pixelwidth
- the width in pixelheight
- the height in pixelMethod Detail |
---|
public java.lang.String findRoot()
CLocation
CStation
.
findRoot
in class CLocation
null
if this location
does not have enough information to find the rootpublic 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
, can also be successor
public CMaximalExternalizedLocation maximize()
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 java.lang.String toString()
toString
in class java.lang.Object
public CLocation getParent()
getParent
in class CLocation
null
public int getX()
public int getY()
public int getWidth()
public int getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |