Package | Description |
---|---|
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.screen |
Modifier and Type | Method | Description |
---|---|---|
Screen |
AbstractTextGUI.getScreen() |
|
Screen |
TextGUI.getScreen() |
Returns the
Screen for this WindowBasedTextGUI |
Constructor | Description |
---|---|
AbstractTextGUI(TextGUIThreadFactory textGUIThreadFactory,
Screen screen) |
Constructor for
AbstractTextGUI that requires a Screen and a factory for creating the GUI thread |
MultiWindowTextGUI(TextGUIThreadFactory guiThreadFactory,
Screen screen) |
Creates a new
MultiWindowTextGUI that uses the specified Screen as the backend for all drawing
operations. |
MultiWindowTextGUI(TextGUIThreadFactory guiThreadFactory,
Screen screen,
WindowManager windowManager) |
Creates a new
MultiWindowTextGUI that uses the specified Screen as the backend for all drawing
operations. |
MultiWindowTextGUI(TextGUIThreadFactory guiThreadFactory,
Screen screen,
WindowManager windowManager,
WindowPostRenderer postRenderer,
Component background) |
Creates a new
MultiWindowTextGUI that uses the specified Screen as the backend for all drawing
operations. |
MultiWindowTextGUI(Screen screen) |
Creates a new
MultiWindowTextGUI that uses the specified Screen as the backend for all drawing
operations. |
MultiWindowTextGUI(Screen screen,
WindowManager windowManager,
Component background) |
Creates a new
MultiWindowTextGUI that uses the specified Screen as the backend for all drawing
operations. |
MultiWindowTextGUI(Screen screen,
WindowManager windowManager,
WindowPostRenderer postRenderer,
Component background) |
Creates a new
MultiWindowTextGUI that uses the specified Screen as the backend for all drawing
operations. |
MultiWindowTextGUI(Screen screen,
TextColor backgroundColor) |
Deprecated.
It's preferred to use a custom background component if you want to customize the background color,
or you should change the theme. Using this constructor won't work well with theming.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractScreen |
This class implements some of the Screen logic that is not directly tied to the actual implementation of how the
Screen translate to the terminal.
|
class |
TerminalScreen |
This is the default concrete implementation of the Screen interface, a buffered layer sitting on top of a Terminal.
|
class |
VirtualScreen |
VirtualScreen wraps a normal screen and presents it as a screen that has a configurable minimum size; if the real
screen is smaller than this size, the presented screen will add scrolling to get around it.
|
Constructor | Description |
---|---|
VirtualScreen(Screen screen) |
Creates a new VirtualScreen that wraps a supplied Screen.
|
Copyright © 2020. All rights reserved.