bibliothek.gui.dock.common.util
Class CDockUtilities
java.lang.Object
bibliothek.gui.dock.util.DockUtilities
bibliothek.gui.dock.common.util.CDockUtilities
public class CDockUtilities
- extends DockUtilities
A set of utility methods usefull in the Common project
- Author:
- Benjamin Sigg
- See Also:
DockUtilities
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDockUtilities
public CDockUtilities()
getFirstWorkingArea
public static CStation<?> getFirstWorkingArea(CStation<?> station)
- Starting with
station
, and traversing the tree upwards, searches
the first CStation
which is a working area
.
- Parameters:
station
- the station on which to start the search
- Returns:
- the first working area (closest to
station
)
getFirstDockable
public static CDockable getFirstDockable(DockElement element)
- Searches a
CDockable
in the tree starting with element
. This method
first travels along the selected
dockables before
searching the entire tree.
- Parameters:
element
- root of the tree
- Returns:
- the first
CDockable
that is found in element