public class DefaultSwingWindowDisplayHandler extends java.lang.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(java.lang.String name,
javax.swing.JInternalFrame window) |
void |
hide(java.lang.String name,
java.awt.Window window)
Callback for hiding a window.
|
void |
show(java.lang.String name,
javax.swing.JInternalFrame window) |
void |
show(java.lang.String name,
java.awt.Window window)
Callback for displaying a window.
|
public void show(@Nonnull java.lang.String name, @Nonnull java.awt.Window window)
WindowDisplayHandler
show
in interface WindowDisplayHandler<java.awt.Window>
window
- the window to be displayedpublic void hide(@Nonnull java.lang.String name, @Nonnull java.awt.Window window)
WindowDisplayHandler
hide
in interface WindowDisplayHandler<java.awt.Window>
window
- the window to hidepublic void show(@Nonnull java.lang.String name, @Nonnull javax.swing.JInternalFrame window)
show
in interface SwingWindowDisplayHandler
public void hide(@Nonnull java.lang.String name, @Nonnull javax.swing.JInternalFrame window)
hide
in interface SwingWindowDisplayHandler