Package docking
Class DockingWindowManagerTestUtils
- java.lang.Object
-
- docking.DockingWindowManagerTestUtils
-
public class DockingWindowManagerTestUtils extends java.lang.Object
This class mainly serves as a conduit through which testing code can access some of the non-public internals ofDockingWindowManager
, without opening up its interface to the public and without using reflective magic.
-
-
Constructor Summary
Constructors Constructor Description DockingWindowManagerTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<ComponentProvider>
getActiveProviders(DockingWindowManager dwm)
static DockableComponent
getDockableComponent(DockingWindowManager dwm, ComponentProvider provider)
static void
moveProvider(DockingWindowManager dwm, ComponentProvider movee, ComponentProvider relativeTo, WindowPosition position)
static java.awt.Window
moveProviderToWindow(DockingWindowManager dwm, ComponentProvider provider)
Moves the given provider to its own window, at its current location.
-
-
-
Method Detail
-
getActiveProviders
public static java.util.Set<ComponentProvider> getActiveProviders(DockingWindowManager dwm)
-
moveProviderToWindow
public static java.awt.Window moveProviderToWindow(DockingWindowManager dwm, ComponentProvider provider)
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)
-
-