Class CStackLocation
java.lang.Object
bibliothek.gui.dock.common.CLocation
bibliothek.gui.dock.common.location.AbstractStackholdingLocation
bibliothek.gui.dock.common.location.CStackLocation
A location describing an element in a stack (also known as tabbed-pane).
- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionCStackLocation(CLocation parent) Creates a new locationCStackLocation(CLocation parent, int index) Creates a new location -
Method Summary
Modifier and TypeMethodDescriptionaside()Deprecated.findMode()Gets the mode this location represents.findProperty(DockableProperty successor) Gets a path describing this location in terms of the DockingFrames.findRoot()Gets the name of the station this location belongs to.intgetIndex()Gets the index to which this location points on a stack.Gets the parent location of thisCStackLocation.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
-
CStackLocation
Creates a new location- Parameters:
parent- the location of the stack
-
CStackLocation
Creates a new location- Parameters:
parent- the location of the stack onto which this location buildsindex- the location of the tab represented by this location
-
-
Method Details
-
getParent
Gets the parent location of thisCStackLocation. -
getIndex
public int getIndex()Gets the index to which this location points on a stack.- Returns:
- the index, may be
Integer.MAX_VALUE
-
findRoot
Description copied from class:CLocationGets the name of the station this location belongs to. This can be the id of anyCStation. -
findMode
Description copied from class:CLocationGets the mode this location represents. -
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. -
toString
-
CLocation.aside()for an explanation.