|
||||||||||
| 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.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()
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. |
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. |
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 pixel
public CExternalizedLocation(CLocation parent,
int x,
int y,
int width,
int height)
parent - the parent location, can be nullx - the x-coordinate in pixely - the y-coordinate in pixelwidth - the width in pixelheight - the height in pixel| 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
null, can also be successorpublic CMaximalExternalizedLocation maximize()
@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 String toString()
toString in class Objectpublic CLocation getParent()
getParent in class CLocationnullpublic 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 | |||||||||