Uses of Interface
com.googlecode.lanterna.gui2.Window
Packages that use Window
-
Uses of Window in com.googlecode.lanterna.gui2
Classes in com.googlecode.lanterna.gui2 that implement WindowModifier and TypeClassDescriptionclass
Abstract Window has most of the code requiring for a window to function, all concrete window implementations extends from this in one way or another.class
Simple AbstractWindow implementation that you can use as a building block when creating new windows without having to create new classes.private class
class
This class is aWindow
implementation that automatically sets some common settings that you'd want on specifically popup windows with menu items.Fields in com.googlecode.lanterna.gui2 declared as WindowModifier and TypeFieldDescriptionprivate Window
WindowList.activeWindow
private Window
MultiWindowTextGUI.titleBarDragWindow
Fields in com.googlecode.lanterna.gui2 with type parameters of type WindowModifier and TypeFieldDescriptionWindowList.stableOrderingOfWindows
private final IdentityHashMap
<Window, TextImage> MultiWindowTextGUI.windowRenderBufferCache
WindowList.windows
Methods in com.googlecode.lanterna.gui2 that return WindowModifier and TypeMethodDescriptionMultiWindowTextGUI.getActiveWindow()
WindowBasedTextGUI.getActiveWindow()
Returns the window which the TextGUI considers the active one at the time of the method call.WindowList.getActiveWindow()
private Window
WindowList.getNextWindow
(boolean reverse, Window window) (package private) Window
AbstractWindow.self()
Methods in com.googlecode.lanterna.gui2 that return types with arguments of type WindowModifier and TypeMethodDescriptionMultiWindowTextGUI.getWindows()
WindowBasedTextGUI.getWindows()
Returns a list of all windows currently in the TextGUI.WindowList.getWindowsInStableOrder()
WindowList.getWindowsInZOrder()
Methods in com.googlecode.lanterna.gui2 with parameters of type WindowModifier and TypeMethodDescriptionAdds a window to the TextGUI system, depending on the window manager this window may or may not be immediately visible.void
MultiWindowTextGUI.addWindowAndWait
(Window window) WindowBasedTextGUI.addWindowAndWait
(Window window) Adds a window to the TextGUI system, depending on the window manager this window may or may not be immediately visible.protected void
MultiWindowTextGUI.changeWindowHintsForDragged
(Window window) In order for window to be draggable, it would no longer be CENTERED.DefaultWindowDecorationRenderer.draw
(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window) EmptyWindowDecorationRenderer.draw
(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window) FatWindowDecorationRenderer.draw
(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window) WindowDecorationRenderer.draw
(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window) Draws the window decorations for a particular window and returns a new TextGraphics that is locked to the area inside of the window decorations where the content of the window should be drawnDefaultWindowDecorationRenderer.getDecoratedSize
(Window window, TerminalSize contentAreaSize) EmptyWindowDecorationRenderer.getDecoratedSize
(Window window, TerminalSize contentAreaSize) FatWindowDecorationRenderer.getDecoratedSize
(Window window, TerminalSize contentAreaSize) WindowDecorationRenderer.getDecoratedSize
(Window window, TerminalSize contentAreaSize) Retrieves the full size of the window, including all window decorations, given all components inside the window.private Window
WindowList.getNextWindow
(boolean reverse, Window window) Returns how much to step right and down from the top left position of the window decorations to the top left position of the actual windowdefault TerminalRectangle
WindowDecorationRenderer.getTitleBarRectangle
(Window window) DefaultWindowManager.getWindowDecorationRenderer
(Window window) WindowManager.getWindowDecorationRenderer
(Window window) Returns theWindowDecorationRenderer
for a particular windowprivate boolean
MultiWindowTextGUI.moveToBottom
(Window window) void
WindowList.moveToBottom
(Window window) Windows are internally stored as a stack and newer windows are added at the top of the stack.void
void
DefaultWindowManager.onAdded
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) void
WindowManager.onAdded
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is added to theWindowBasedTextGUI
.void
WindowListenerAdapter.onInput
(Window basePane, KeyStroke keyStroke, AtomicBoolean deliverEvent) void
WindowListener.onMoved
(Window window, TerminalPosition oldPosition, TerminalPosition newPosition) Called whenever the window's position has changed, no matter if it was done by the window manager or the uservoid
WindowListenerAdapter.onMoved
(Window window, TerminalPosition oldPosition, TerminalPosition newPosition) void
DefaultWindowManager.onRemoved
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) void
WindowManager.onRemoved
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is removed from aWindowBasedTextGUI
.void
WindowListener.onResized
(Window window, TerminalSize oldSize, TerminalSize newSize) Called whenever the window's size has changed, no matter if it was done by the window manager or the uservoid
WindowListenerAdapter.onResized
(Window window, TerminalSize oldSize, TerminalSize newSize) void
WindowListenerAdapter.onUnhandledInput
(Window basePane, KeyStroke keyStroke, AtomicBoolean hasBeenHandled) void
WindowPostRenderer.postRender
(ThemedTextGraphics textGraphics, TextGUI textGUI, Window window) Called by DefaultWindowTextGUI immediately after a Window has been rendered, to let you do post-processing.void
WindowShadowRenderer.postRender
(ThemedTextGraphics textGraphics, TextGUI textGUI, Window window) protected void
DefaultWindowManager.prepareWindow
(TerminalSize screenSize, Window window) Called byDefaultWindowManager
when iterating through all windows to decide their size and position.MultiWindowTextGUI.removeWindow
(Window window) WindowBasedTextGUI.removeWindow
(Window window) Removes a window from the TextGUI.boolean
WindowList.removeWindow
(Window window) Removes the window from this WindowList.MultiWindowTextGUI.setActiveWindow
(Window activeWindow) WindowBasedTextGUI.setActiveWindow
(Window activeWindow) Selects a particular window to be considered 'active' and receive all input eventsvoid
WindowList.setActiveWindow
(Window activeWindow) void
MultiWindowTextGUI.waitForWindowToClose
(Window window) void
WindowBasedTextGUI.waitForWindowToClose
(Window abstractWindow) Waits for the specified window to be closedMethod parameters in com.googlecode.lanterna.gui2 with type arguments of type WindowModifier and TypeMethodDescriptionvoid
DefaultWindowManager.onAdded
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) void
WindowManager.onAdded
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is added to theWindowBasedTextGUI
.void
DefaultWindowManager.onRemoved
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) void
WindowManager.onRemoved
(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is removed from aWindowBasedTextGUI
.void
DefaultWindowManager.prepareWindows
(WindowBasedTextGUI textGUI, List<Window> allWindows, TerminalSize screenSize) void
WindowManager.prepareWindows
(WindowBasedTextGUI textGUI, List<Window> allWindows, TerminalSize screenSize) Called by the GUI system before iterating through all windows during the drawing process. -
Uses of Window in com.googlecode.lanterna.gui2.dialogs
Classes in com.googlecode.lanterna.gui2.dialogs that implement WindowModifier and TypeClassDescriptionclass
Dialog containing a multiple item action list boxclass
Thin layer on top of theAbstractWindow
class that automatically sets properties and hints to the window to make it act more like a modal dialog windowclass
Dialog that allows the user to iterate the file system and pick directory.class
Dialog that allows the user to iterate the file system and pick file to open/saveclass
Dialog that allows the user to select an item from a listclass
Simple message dialog that displays a message and has optional selection/confirmation buttonsclass
TextInputDialog
is a modal text input dialog that prompts the user to enter a text string.class
Dialog that displays a text message, an optional spinning indicator and an optional progress bar.