public class TreeLocationRoot 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 |
---|
TreeLocationRoot(CSplitLocation root,
double size,
Side side,
long nodeId)
Creates a new location.
|
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.
|
CSplitLocation |
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 TreeLocationRoot(CSplitLocation root, double size, Side side, long nodeId)
root
- the location that knows to which SplitDockStation
this
location belongssize
- the relative size of this locationside
- the side which is occupied by this locationnodeId
- the unique identifier of the new node, can be -1AbstractTreeLocation.AbstractTreeLocation(double, Side, long)
public CSplitLocation getParent()
CLocation
public String findRoot()
CLocation
CStation
.protected SplitDockPathProperty findParentProperty()
AbstractTreeLocation
DockableProperty
describing the this location.findParentProperty
in class AbstractTreeLocation
public String toString()
toString
in class AbstractTreeLocation