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 TypeClassDescriptionclassAbstract Window has most of the code requiring for a window to function, all concrete window implementations extends from this in one way or another.classSimple AbstractWindow implementation that you can use as a building block when creating new windows without having to create new classes.private classclassThis class is aWindowimplementation that automatically sets some common settings that you'd want on specifically popup windows with menu items.Subclasses with type arguments of type Window in com.googlecode.lanterna.gui2Modifier and TypeClassDescriptionclassAbstract Window has most of the code requiring for a window to function, all concrete window implementations extends from this in one way or another.Subinterfaces with type arguments of type Window in com.googlecode.lanterna.gui2Modifier and TypeInterfaceDescriptioninterfaceExtendedBasePaneListenerforWindowthat exposes additional events that are specific to windowsFields in com.googlecode.lanterna.gui2 declared as WindowModifier and TypeFieldDescriptionprivate WindowWindowList.activeWindowprivate WindowMultiWindowTextGUI.titleBarDragWindowFields in com.googlecode.lanterna.gui2 with type parameters of type WindowModifier and TypeFieldDescriptionWindowList.stableOrderingOfWindowsprivate final IdentityHashMap<Window, TextImage> MultiWindowTextGUI.windowRenderBufferCacheWindowList.windowsMethods 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 WindowWindowList.getNextWindow(boolean reverse, Window window) (package private) WindowAbstractWindow.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.voidMultiWindowTextGUI.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 voidMultiWindowTextGUI.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 WindowWindowList.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 TerminalRectangleWindowDecorationRenderer.getTitleBarRectangle(Window window) DefaultWindowManager.getWindowDecorationRenderer(Window window) WindowManager.getWindowDecorationRenderer(Window window) Returns theWindowDecorationRendererfor a particular windowprivate booleanMultiWindowTextGUI.moveToBottom(Window window) voidWindowList.moveToBottom(Window window) Windows are internally stored as a stack and newer windows are added at the top of the stack.voidvoidDefaultWindowManager.onAdded(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) voidWindowManager.onAdded(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is added to theWindowBasedTextGUI.voidWindowListenerAdapter.onInput(Window basePane, KeyStroke keyStroke, AtomicBoolean deliverEvent) voidWindowListener.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 uservoidWindowListenerAdapter.onMoved(Window window, TerminalPosition oldPosition, TerminalPosition newPosition) voidDefaultWindowManager.onRemoved(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) voidWindowManager.onRemoved(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is removed from aWindowBasedTextGUI.voidWindowListener.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 uservoidWindowListenerAdapter.onResized(Window window, TerminalSize oldSize, TerminalSize newSize) voidWindowListenerAdapter.onUnhandledInput(Window basePane, KeyStroke keyStroke, AtomicBoolean hasBeenHandled) voidWindowPostRenderer.postRender(ThemedTextGraphics textGraphics, TextGUI textGUI, Window window) Called by DefaultWindowTextGUI immediately after a Window has been rendered, to let you do post-processing.voidWindowShadowRenderer.postRender(ThemedTextGraphics textGraphics, TextGUI textGUI, Window window) protected voidDefaultWindowManager.prepareWindow(TerminalSize screenSize, Window window) Called byDefaultWindowManagerwhen iterating through all windows to decide their size and position.MultiWindowTextGUI.removeWindow(Window window) WindowBasedTextGUI.removeWindow(Window window) Removes a window from the TextGUI.booleanWindowList.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 eventsvoidWindowList.setActiveWindow(Window activeWindow) voidMultiWindowTextGUI.waitForWindowToClose(Window window) voidWindowBasedTextGUI.waitForWindowToClose(Window abstractWindow) Waits for the specified window to be closedMethod parameters in com.googlecode.lanterna.gui2 with type arguments of type WindowModifier and TypeMethodDescriptionvoidDefaultWindowManager.onAdded(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) voidWindowManager.onAdded(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is added to theWindowBasedTextGUI.voidDefaultWindowManager.onRemoved(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) voidWindowManager.onRemoved(WindowBasedTextGUI textGUI, Window window, List<Window> allWindows) Called whenever a window is removed from aWindowBasedTextGUI.voidDefaultWindowManager.prepareWindows(WindowBasedTextGUI textGUI, List<Window> allWindows, TerminalSize screenSize) voidWindowManager.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 TypeClassDescriptionclassDialog containing a multiple item action list boxclassThin layer on top of theAbstractWindowclass that automatically sets properties and hints to the window to make it act more like a modal dialog windowclassDialog that allows the user to iterate the file system and pick directory.classDialog that allows the user to iterate the file system and pick file to open/saveclassDialog that allows the user to select an item from a listclassSimple message dialog that displays a message and has optional selection/confirmation buttonsclassTextInputDialogis a modal text input dialog that prompts the user to enter a text string.classDialog that displays a text message, an optional spinning indicator and an optional progress bar.