public class DefaultLanternaWindowDisplayHandler extends Object implements LanternaWindowDisplayHandler
Constructor and Description |
---|
DefaultLanternaWindowDisplayHandler(com.googlecode.lanterna.gui.GUIScreen screen) |
@Inject public DefaultLanternaWindowDisplayHandler(@Nonnull com.googlecode.lanterna.gui.GUIScreen screen)
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