Class DockingPortTracker
java.lang.Object
org.flexdock.docking.event.hierarchy.DockingPortTracker
- All Implemented Interfaces:
HierarchyListener
,EventListener
- Author:
- Christopher Butler, Karl Schaefer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dockingPortAdded
(RootWindow window, DockingPort port) void
dockingPortRemoved
(RootWindow window, DockingPort port) static DockingPort
static DockingPort
findByWindow
(Component comp) Returns theDockingPort
forcomp
.static DockingPort
findByWindow
(RootWindow window) static Set
static Set
static HierarchyListener
static DockingPort
getRootDockingPort
(Dockable dockable) static RootDockingPortInfo
static RootDockingPortInfo
getRootDockingPortInfo
(RootWindow window) static Set
void
static void
static void
updateIndex
(DockingPort port)
-
Constructor Details
-
DockingPortTracker
public DockingPortTracker()
-
-
Method Details
-
getInstance
-
remove
-
getRootDockingPortInfo
-
getRootDockingPortInfo
-
findById
-
findByWindow
Returns theDockingPort
forcomp
. Ifcomp
isnull
, then this method returnsnull
.- Parameters:
comp
- the component for which to find the root docking port.- Returns:
- the eldest docking port for
comp
, ornull
ifcomp
isnull
or has noDockingPort
ancestor.
-
findByWindow
-
updateIndex
-
hierarchyChanged
- Specified by:
hierarchyChanged
in interfaceHierarchyListener
-
dockingPortAdded
-
dockingPortRemoved
-
getDockingWindows
-
getDockingPorts
-
getRootDockingPorts
-
getRootDockingPort
-