public class DefaultSwingWindowDisplayHandler extends Object implements SwingWindowDisplayHandler
WindowDisplayHandler that simply makes the window
visible on show() and disposes it on hide().| Constructor and Description |
|---|
DefaultSwingWindowDisplayHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
hide(String name,
JInternalFrame window) |
void |
hide(String name,
Window window)
Callback for hiding a window.
|
void |
show(String name,
JInternalFrame window) |
void |
show(String name,
Window window)
Callback for displaying a window.
|
public void show(@Nonnull String name, @Nonnull Window window)
WindowDisplayHandlershow in interface WindowDisplayHandler<Window>window - the window to be displayedpublic void hide(@Nonnull String name, @Nonnull Window window)
WindowDisplayHandlerhide in interface WindowDisplayHandler<Window>window - the window to hidepublic void show(@Nonnull String name, @Nonnull JInternalFrame window)
show in interface SwingWindowDisplayHandlerpublic void hide(@Nonnull String name, @Nonnull JInternalFrame window)
hide in interface SwingWindowDisplayHandler