Uses of Interface
com.googlecode.lanterna.gui2.WindowBasedTextGUI
-
Packages that use WindowBasedTextGUI Package Description com.googlecode.lanterna.gui2 com.googlecode.lanterna.gui2.dialogs -
-
Uses of WindowBasedTextGUI in com.googlecode.lanterna.gui2
Classes in com.googlecode.lanterna.gui2 that implement WindowBasedTextGUI Modifier and Type Class Description classMultiWindowTextGUIThis is the main Text GUI implementation built into Lanterna, supporting multiple tiled windows and a dynamic background area that can be fully customized.Fields in com.googlecode.lanterna.gui2 declared as WindowBasedTextGUI Modifier and Type Field Description private WindowBasedTextGUIAbstractWindow. textGUIMethods in com.googlecode.lanterna.gui2 that return WindowBasedTextGUI Modifier and Type Method Description WindowBasedTextGUIMultiWindowTextGUI. addWindow(Window window)WindowBasedTextGUIWindowBasedTextGUI. addWindow(Window window)Adds a window to the TextGUI system, depending on the window manager this window may or may not be immediately visible.WindowBasedTextGUIMultiWindowTextGUI. addWindowAndWait(Window window)WindowBasedTextGUIWindowBasedTextGUI. addWindowAndWait(Window window)Adds a window to the TextGUI system, depending on the window manager this window may or may not be immediately visible.WindowBasedTextGUIMultiWindowTextGUI. cycleActiveWindow(boolean reverse)Switches the active window by cyclically shuffling the window list.WindowBasedTextGUIWindowBasedTextGUI. cycleActiveWindow(boolean reverse)Takes the previously active window and makes it active, or if in reverse mode, takes the window at the bottom of the stack, moves it to the front and makes it active.WindowBasedTextGUIAbstractWindow. getTextGUI()WindowBasedTextGUIWindow. getTextGUI()WindowBasedTextGUIMultiWindowTextGUI. moveToBottom(Window window)WindowBasedTextGUIMultiWindowTextGUI. moveToTop(Window window)WindowBasedTextGUIWindowBasedTextGUI. moveToTop(Window window)Windows are internally stored as a stack and newer windows are added at the top of the stack.WindowBasedTextGUIMultiWindowTextGUI. removeWindow(Window window)WindowBasedTextGUIWindowBasedTextGUI. removeWindow(Window window)Removes a window from the TextGUI.WindowBasedTextGUIWindowBasedTextGUI. setActiveWindow(Window activeWindow)Selects a particular window to be considered 'active' and receive all input eventsMethods in com.googlecode.lanterna.gui2 with parameters of type WindowBasedTextGUI Modifier and Type Method Description TextGUIGraphicsDefaultWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsEmptyWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsFatWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsWindowDecorationRenderer. 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 drawnvoidDefaultWindowManager. onAdded(WindowBasedTextGUI textGUI, Window window, java.util.List<Window> allWindows)voidWindowManager. onAdded(WindowBasedTextGUI textGUI, Window window, java.util.List<Window> allWindows)Called whenever a window is added to theWindowBasedTextGUI.voidDefaultWindowManager. onRemoved(WindowBasedTextGUI textGUI, Window window, java.util.List<Window> allWindows)voidWindowManager. onRemoved(WindowBasedTextGUI textGUI, Window window, java.util.List<Window> allWindows)Called whenever a window is removed from aWindowBasedTextGUI.voidDefaultWindowManager. prepareWindows(WindowBasedTextGUI textGUI, java.util.List<Window> allWindows, TerminalSize screenSize)voidWindowManager. prepareWindows(WindowBasedTextGUI textGUI, java.util.List<Window> allWindows, TerminalSize screenSize)Called by the GUI system before iterating through all windows during the drawing process.voidAbstractWindow. setTextGUI(WindowBasedTextGUI textGUI)voidWindow. setTextGUI(WindowBasedTextGUI textGUI)DON'T CALL THIS METHOD YOURSELF, it is called automatically by the TextGUI system when you add a window. -
Uses of WindowBasedTextGUI in com.googlecode.lanterna.gui2.dialogs
Methods in com.googlecode.lanterna.gui2.dialogs with parameters of type WindowBasedTextGUI Modifier and Type Method Description static voidActionListDialog. showDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, java.lang.Runnable... items)Helper method for immediately displaying aActionListDialog, the method will return when the dialog is closedjava.lang.ObjectDialogWindow. showDialog(WindowBasedTextGUI textGUI)Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closedjava.io.FileDirectoryDialog. showDialog(WindowBasedTextGUI textGUI)Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closedjava.io.FileFileDialog. showDialog(WindowBasedTextGUI textGUI)Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closedTListSelectDialog. showDialog(WindowBasedTextGUI textGUI)Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closedstatic <T> TListSelectDialog. showDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, int listBoxHeight, T... items)Shortcut for quickly creating a new dialogstatic <T> TListSelectDialog. showDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, TerminalSize listBoxSize, T... items)Shortcut for quickly creating a new dialogstatic <T> TListSelectDialog. showDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, T... items)Shortcut for quickly creating a new dialogMessageDialogButtonMessageDialog. showDialog(WindowBasedTextGUI textGUI)Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closedjava.lang.StringTextInputDialog. showDialog(WindowBasedTextGUI textGUI)static java.lang.StringTextInputDialog. showDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, java.lang.String initialContent)Shortcut for quickly showing aTextInputDialogjava.lang.ObjectWaitingDialog. showDialog(WindowBasedTextGUI textGUI)voidWaitingDialog. showDialog(WindowBasedTextGUI textGUI, boolean blockUntilClosed)Displays the waiting dialog and optionally blocks until another thread closes itstatic WaitingDialogWaitingDialog. showDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String text)Creates and displays a waiting dialog without blocking for it to finishstatic MessageDialogButtonMessageDialog. showMessageDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String text, MessageDialogButton... buttons)Shortcut for quickly displaying a message boxstatic java.math.BigIntegerTextInputDialog. showNumberDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, java.lang.String initialContent)Shortcut for quickly showing aTextInputDialogthat only accepts numbersstatic java.lang.StringTextInputDialog. showPasswordDialog(WindowBasedTextGUI textGUI, java.lang.String title, java.lang.String description, java.lang.String initialContent)Shortcut for quickly showing aTextInputDialogwith password masking
-