|
||||||||||
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.CStackLocation
public class CStackLocation
A location describing an element in a stack (also known as tabbed-pane).
Constructor Summary | |
---|---|
CStackLocation(CLocation parent)
Creates a new location |
|
CStackLocation(CLocation parent,
int index)
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 |
getIndex()
Gets the index to which this location points on a stack. |
CLocation |
getParent()
Gets the parent location of this CStackLocation . |
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 |
Constructor Detail |
---|
public CStackLocation(CLocation parent)
parent
- the location of the stackpublic CStackLocation(CLocation parent, int index)
parent
- the location of the stack onto which this location buildsindex
- the location of the tab represented by this locationMethod Detail |
---|
public CLocation getParent()
CStackLocation
.
getParent
in class CLocation
null
public int getIndex()
Integer.MAX_VALUE
public 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
@Deprecated public CLocation aside()
CLocation.aside()
for an explanation.
CLocation
CLocation
that describes the location of an element
that should be inserted next to this location.
aside
in class CLocation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |