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 useful in the Common project
Author:
Benjamin Sigg
See Also:
  • Constructor Details

    • CDockUtilities

      public CDockUtilities()
  • Method Details

    • 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