Class TreeLocationLeaf
java.lang.Object
bibliothek.gui.dock.common.CLocation
bibliothek.gui.dock.common.location.AbstractStackholdingLocation
bibliothek.gui.dock.common.location.TreeLocationLeaf
Represents a leaf in a path of tree-nodes.
- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionTreeLocationLeaf(AbstractTreeLocation parent, long leafId) Creates a new leaf. -
Method Summary
Modifier and TypeMethodDescriptionaside()Deprecated.findMode()Gets the mode this location represents.protected SplitDockPathPropertyfindProperty(DockableProperty successor) Gets a path describing this location in terms of the DockingFrames.findRoot()Gets the name of the station this location belongs to.longGets the unique identifier of the leaf which is represented by thisTreeLocationLeaf.Gets the parent location of this location.toString()Methods 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
-
TreeLocationLeaf
Creates a new leaf.- Parameters:
parent- the turn above this locationleafId- the unique identifier of the leaf represented by this location, can be -1
-
-
Method Details
-
getParent
Description copied from class:CLocationGets the parent location of this location. Some root-locations may never have a parent. -
getLeafId
public long getLeafId()Gets the unique identifier of the leaf which is represented by thisTreeLocationLeaf.- Returns:
- the identifier or -1
-
findParentProperty
-
findProperty
Description copied from class:CLocationGets a path describing this location in terms of the DockingFrames.- Specified by:
findPropertyin classCLocation- Parameters:
successor- the path of the elements above this location ornull- Returns:
- the path to this location or
null, can also besuccessor
-
aside
Deprecated.seeCLocation.aside()for an explanation.Description copied from class:CLocationReturns aCLocationthat describes the location of an element that should be inserted next to this location. -
findRoot
Description copied from class:CLocationGets the name of the station this location belongs to. This can be the id of anyCStation. -
toString
-
findMode
Description copied from class:CLocationGets the mode this location represents.
-
CLocation.aside()for an explanation.