public class TreeLocationLeaf extends AbstractStackholdingLocation
Type | Property and Description |
---|---|
protected SplitDockPathProperty |
findParent |
findProperty
Constructor and Description |
---|
TreeLocationLeaf(AbstractTreeLocation parent,
long leafId)
Creates a new leaf.
|
Modifier and Type | Method and Description |
---|---|
CLocation |
aside()
Deprecated.
see
CLocation.aside() for an explanation. |
ExtendedMode |
findMode()
Gets the mode this location represents.
|
protected SplitDockPathProperty |
findParentProperty() |
SplitDockPathProperty |
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.
|
long |
getLeafId()
Gets the unique identifier of the leaf which is represented by this
TreeLocationLeaf . |
AbstractTreeLocation |
getParent()
Gets the parent location of this location.
|
String |
toString() |
stack, stack
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
protected SplitDockPathProperty findParentProperty
public TreeLocationLeaf(AbstractTreeLocation parent, long leafId)
parent
- the turn above this locationleafId
- the unique identifier of the leaf represented by this location, can be -1public AbstractTreeLocation getParent()
CLocation
public long getLeafId()
TreeLocationLeaf
.protected SplitDockPathProperty findParentProperty()
public SplitDockPathProperty 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 String findRoot()
CLocation
CStation
.public ExtendedMode findMode()
CLocation