Package | Description |
---|---|
com.googlecode.lanterna.gui | |
com.googlecode.lanterna.gui.component | |
com.googlecode.lanterna.gui.dialog | |
com.googlecode.lanterna.gui.listener |
Modifier and Type | Method and Description |
---|---|
Window |
GUIScreen.getActiveWindow()
Returns the top window in the window stack, the one which currently has user input focus.
|
Window |
Component.getWindow()
Returns the window which is directly or indirectly containing this component.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GUIScreen.closeWindow(Window window)
Used internally to close a window; API users should call Window.close() instead
|
void |
GUIScreen.showWindow(Window window)
Same as calling showWindow(window, Position.OVERLAPPING)
|
void |
GUIScreen.showWindow(Window window,
GUIScreen.Position position)
This method starts the GUI system with an initial window.
|
Modifier and Type | Method and Description |
---|---|
Window |
AbstractComponent.getWindow() |
Modifier and Type | Class and Description |
---|---|
class |
ActionListDialog |
class |
FileDialog |
class |
MessageBox |
class |
TextInputDialog |
class |
WaitingDialog |
Modifier and Type | Method and Description |
---|---|
void |
WindowAdapter.onFocusChanged(Window window,
Interactable fromComponent,
Interactable toComponent) |
void |
WindowListener.onFocusChanged(Window window,
Interactable fromComponent,
Interactable toComponent)
Called by the window whenever the input focus has changed from one component to another
|
void |
WindowAdapter.onUnhandledKeyboardInteraction(Window window,
Key key) |
void |
WindowListener.onUnhandledKeyboardInteraction(Window window,
Key key)
Called by the window when there was a keyboard input event that no component could handle
|
void |
WindowAdapter.onWindowClosed(Window window) |
void |
WindowListener.onWindowClosed(Window window)
Called by the window when it has been closed and removed from the
GUIScreen . |
void |
WindowAdapter.onWindowInvalidated(Window window) |
void |
WindowListener.onWindowInvalidated(Window window)
Called when a window has been internally modified and needs to be repainted by the GUI system.
|
void |
WindowAdapter.onWindowShown(Window window) |
void |
WindowListener.onWindowShown(Window window)
Called by the window when it has been added and showed up on a
GUIScreen . |
Copyright © 2015. All Rights Reserved.