Class TreeLocationNode
java.lang.Object
bibliothek.gui.dock.common.CLocation
bibliothek.gui.dock.common.location.AbstractStackholdingLocation
bibliothek.gui.dock.common.location.AbstractTreeLocation
bibliothek.gui.dock.common.location.TreeLocationNode
A turn in a path to an element, beginning at the "normalized-area".
- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionTreeLocationNode(AbstractTreeLocation parent, double size, Side side, long nodeId) Creates a new node. -
Method Summary
Modifier and TypeMethodDescriptionprotected SplitDockPathPropertyAsks the parent, or in the case of the root creates, theDockablePropertydescribing the this location.findRoot()Gets the name of the station this location belongs to.Gets the parent location of this location.toString()Methods inherited from class bibliothek.gui.dock.common.location.AbstractTreeLocation
aside, east, east, findMode, findProperty, getNodeId, getSide, getSize, leaf, north, north, south, south, west, westMethods inherited from class bibliothek.gui.dock.common.location.AbstractStackholdingLocation
stack, stackMethods inherited from class bibliothek.gui.dock.common.CLocation
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
-
Constructor Details
-
TreeLocationNode
Creates a new node.- Parameters:
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 -1- See Also:
-
-
Method Details
-
getParent
Description copied from class:CLocationGets the parent location of this location. Some root-locations may never have a parent. -
findParentProperty
Description copied from class:AbstractTreeLocationAsks the parent, or in the case of the root creates, theDockablePropertydescribing the this location.- Specified by:
findParentPropertyin classAbstractTreeLocation- Returns:
- the property
-
findRoot
Description copied from class:CLocationGets the name of the station this location belongs to. This can be the id of anyCStation. -
toString
- Overrides:
toStringin classAbstractTreeLocation
-