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 TypeMethodDescriptionvoiddockingPortAdded(RootWindow window, DockingPort port) voiddockingPortRemoved(RootWindow window, DockingPort port) static DockingPortstatic DockingPortfindByWindow(Component comp) Returns theDockingPortforcomp.static DockingPortfindByWindow(RootWindow window) static Setstatic Setstatic HierarchyListenerstatic DockingPortgetRootDockingPort(Dockable dockable) static RootDockingPortInfostatic RootDockingPortInfogetRootDockingPortInfo(RootWindow window) static Setvoidstatic voidstatic voidupdateIndex(DockingPort port)
-
Constructor Details
-
DockingPortTracker
public DockingPortTracker()
-
-
Method Details
-
getInstance
-
remove
-
getRootDockingPortInfo
-
getRootDockingPortInfo
-
findById
-
findByWindow
Returns theDockingPortforcomp. Ifcompisnull, then this method returnsnull.- Parameters:
comp- the component for which to find the root docking port.- Returns:
- the eldest docking port for
comp, ornullifcompisnullor has noDockingPortancestor.
-
findByWindow
-
updateIndex
-
hierarchyChanged
- Specified by:
hierarchyChangedin interfaceHierarchyListener
-
dockingPortAdded
-
dockingPortRemoved
-
getDockingWindows
-
getDockingPorts
-
getRootDockingPorts
-
getRootDockingPort
-