public class DefaultLanternaWindowDisplayHandler extends Object implements LanternaWindowDisplayHandler
Constructor and Description |
---|
DefaultLanternaWindowDisplayHandler(com.googlecode.lanterna.gui.GUIScreen screen) |
Modifier and Type | Method and Description |
---|---|
void |
hide(String name,
com.googlecode.lanterna.gui.Window window)
Callback for hiding a window.
|
void |
show(String name,
com.googlecode.lanterna.gui.Window window)
Callback for displaying a window.
|
public void show(@Nonnull String name, @Nonnull com.googlecode.lanterna.gui.Window window)
WindowDisplayHandler
show
in interface WindowDisplayHandler<com.googlecode.lanterna.gui.Window>
window
- the window to be displayedpublic void hide(@Nonnull String name, @Nonnull com.googlecode.lanterna.gui.Window window)
WindowDisplayHandler
hide
in interface WindowDisplayHandler<com.googlecode.lanterna.gui.Window>
window
- the window to hide