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() |
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