Package docking
Class DockingWindowManagerTestUtils
java.lang.Object
docking.DockingWindowManagerTestUtils
This class mainly serves as a conduit through which testing code can access some of the
non-public internals of
DockingWindowManager
, without opening up its interface to the
public and without using reflective magic.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set
<ComponentProvider> static DockableComponent
getDockableComponent
(DockingWindowManager dwm, ComponentProvider provider) static void
moveProvider
(DockingWindowManager dwm, ComponentProvider movee, ComponentProvider relativeTo, WindowPosition position) static Window
moveProviderToWindow
(DockingWindowManager dwm, ComponentProvider provider) Moves the given provider to its own window, at its current location.
-
Constructor Details
-
DockingWindowManagerTestUtils
public DockingWindowManagerTestUtils()
-
-
Method Details
-
getActiveProviders
-
moveProviderToWindow
Moves the given provider to its own window, at its current location.- Parameters:
provider
- the provider to move- Returns:
- the provider's window
-
moveProvider
public static void moveProvider(DockingWindowManager dwm, ComponentProvider movee, ComponentProvider relativeTo, WindowPosition position) -
getDockableComponent
public static DockableComponent getDockableComponent(DockingWindowManager dwm, ComponentProvider provider)
-