public class TreeLocationNode extends AbstractTreeLocation
Type | Property and Description |
---|---|
protected SplitDockPathProperty |
findParent
Asks the parent, or in the case of the root creates, the
DockableProperty describing the this location. |
findProperty
Constructor and Description |
---|
TreeLocationNode(AbstractTreeLocation parent,
double size,
Side side,
long nodeId)
Creates a new node.
|
Modifier and Type | Method and Description |
---|---|
protected SplitDockPathProperty |
findParentProperty()
Asks the parent, or in the case of the root creates, the
DockableProperty describing the this location. |
String |
findRoot()
Gets the name of the station this location belongs to.
|
AbstractTreeLocation |
getParent()
Gets the parent location of this location.
|
String |
toString() |
aside, east, east, findMode, findProperty, getNodeId, getSide, getSize, leaf, north, north, south, south, west, west
stack, stack
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
protected SplitDockPathProperty findParentProperty
findParentProperty
in class AbstractTreeLocation
public TreeLocationNode(AbstractTreeLocation parent, double size, Side side, long nodeId)
parent
- the turn above this locationsize
- the relative size of this locationside
- the side which is occupied by this locationnodeId
- the unique identifier of the node represented by this location, can be -1AbstractTreeLocation.AbstractTreeLocation(double, Side, long)
public AbstractTreeLocation getParent()
CLocation
protected SplitDockPathProperty findParentProperty()
AbstractTreeLocation
DockableProperty
describing the this location.findParentProperty
in class AbstractTreeLocation
public String findRoot()
CLocation
CStation
.public String toString()
toString
in class AbstractTreeLocation