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)
WindowDisplayHandler
show
in interface WindowDisplayHandler<Window>
window
- the window to be displayedpublic void hide(@Nonnull String name, @Nonnull Window window)
WindowDisplayHandler
hide
in interface WindowDisplayHandler<Window>
window
- the window to hidepublic void show(@Nonnull String name, @Nonnull JInternalFrame window)
show
in interface SwingWindowDisplayHandler
public void hide(@Nonnull String name, @Nonnull JInternalFrame window)
hide
in interface SwingWindowDisplayHandler