public class CStackLocation extends AbstractStackholdingLocation
findProperty
Constructor and Description |
---|
CStackLocation(CLocation parent)
Creates a new location
|
CStackLocation(CLocation parent,
int index)
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.
|
java.lang.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 . |
java.lang.String |
toString() |
stack, stack
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
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 locationpublic CLocation getParent()
CStackLocation
.public int getIndex()
Integer.MAX_VALUE
public java.lang.String findRoot()
CLocation
CStation
.public ExtendedMode findMode()
CLocation
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.public java.lang.String toString()
toString
in class java.lang.Object