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, weststack, stackbase, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, workingprotected SplitDockPathProperty findParentProperty
findParentProperty in class AbstractTreeLocationpublic 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()
CLocationprotected SplitDockPathProperty findParentProperty()
AbstractTreeLocationDockableProperty describing the this location.findParentProperty in class AbstractTreeLocationpublic String findRoot()
CLocationCStation.public String toString()
toString in class AbstractTreeLocationCopyright © 2018. All rights reserved.