Package bibliothek.gui.dock.common.util
Class CDockUtilities
java.lang.Object
bibliothek.gui.dock.util.DockUtilities
bibliothek.gui.dock.common.util.CDockUtilities
A set of utility methods useful in the Common project
- Author:
- Benjamin Sigg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class bibliothek.gui.dock.util.DockUtilities
DockUtilities.DockVisitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CDockablegetFirstDockable(DockElement element) Searches aCDockablein the tree starting withelement.static CStation<?>getFirstWorkingArea(CStation<?> station) Starting withstation, and traversing the tree upwards, searches the firstCStationwhich is aworking area.Methods inherited from class bibliothek.gui.dock.util.DockUtilities
acceptable, acceptable, append, checkLayoutLocked, disableCheckLayoutLocked, disabledIcon, ensureTreeValidity, ensureTreeValidity, getDirectChild, getLastProperty, getPropertyChain, getPropertyChain, getPropertyChain, getRoot, getShowingComponent, iconImage, isAncestor, isAncestor, listDockables, loadIcons, loadIcons, mergePlaceholders, visit, visit, visit
-
Constructor Details
-
CDockUtilities
public CDockUtilities()
-
-
Method Details
-
getFirstWorkingArea
Starting withstation, and traversing the tree upwards, searches the firstCStationwhich is aworking area.- Parameters:
station- the station on which to start the search- Returns:
- the first working area (closest to
station)
-
getFirstDockable
Searches aCDockablein the tree starting withelement. This method first travels along theselecteddockables before searching the entire tree.- Parameters:
element- root of the tree- Returns:
- the first
CDockablethat is found inelement
-