Uses of Class
com.googlecode.lanterna.gui2.Window.Hint
Packages that use Window.Hint
-
Uses of Window.Hint in com.googlecode.lanterna.gui2
Fields in com.googlecode.lanterna.gui2 declared as Window.HintModifier and TypeFieldDescriptionstatic final Window.Hint
Window.Hint.CENTERED
With this hint, the window wants to be at the center of the terminal instead of using the cascading layout which is the standard.static final Window.Hint
Window.Hint.EXPANDED
This window hint tells the window manager that the window should be taking up almost the entire screen, leaving only a small space around it.static final Window.Hint
Window.Hint.FIT_TERMINAL_WINDOW
With this hint, don't let the window grow larger than the terminal screen, rather set components to a smaller size than they prefer.static final Window.Hint
Window.Hint.FIXED_POSITION
Windows with this hint should not be positioned by the window manager, rather they should use whatever position is pre-set.static final Window.Hint
Window.Hint.FIXED_SIZE
Windows with this hint should not be automatically sized by the window manager (usinggetPreferredSize()
), rather should rely on the code manually setting the size of the window usingsetFixedSize(..)
.static final Window.Hint
Window.Hint.FULL_SCREEN
A window with this hint would like to be placed covering the entire screen.static final Window.Hint
Window.Hint.MENU_POPUP
Windows with this hint should (optionally) be rendered differently by the window manager to distiguish them from ordinary windows.static final Window.Hint
Window.Hint.MODAL
This hint tells the window manager that this window should have exclusive access to the keyboard input until it is closed.static final Window.Hint
Window.Hint.NO_DECORATIONS
With this hint, the TextGUI system should not draw any decorations around the window.static final Window.Hint
Window.Hint.NO_FOCUS
With this hint, the window should never receive focus by the window managerstatic final Window.Hint
Window.Hint.NO_POST_RENDERING
With this hint, the TextGUI system should skip running any post renderers for the window.Fields in com.googlecode.lanterna.gui2 with type parameters of type Window.HintMethods in com.googlecode.lanterna.gui2 that return types with arguments of type Window.HintModifier and TypeMethodDescriptionAbstractWindow.getHints()
Window.getHints()
Returns a set of window hints that can be used by the text gui system, the window manager or any other part that is interacting with windows.Method parameters in com.googlecode.lanterna.gui2 with type arguments of type Window.HintModifier and TypeMethodDescriptionvoid
AbstractWindow.setHints
(Collection<Window.Hint> hints) void
Window.setHints
(Collection<Window.Hint> hints) Updates the set of active hints for this window. -
Uses of Window.Hint in com.googlecode.lanterna.gui2.dialogs
Fields in com.googlecode.lanterna.gui2.dialogs with type parameters of type Window.HintModifier and TypeFieldDescriptionprotected Set
<Window.Hint> AbstractDialogBuilder.extraWindowHints
private final Set
<Window.Hint> MessageDialogBuilder.extraWindowHints
private static final Set
<Window.Hint> DialogWindow.GLOBAL_DIALOG_HINTS
Methods in com.googlecode.lanterna.gui2.dialogs that return types with arguments of type Window.HintModifier and TypeMethodDescriptionAbstractDialogBuilder.getExtraWindowHints()
Returns the list of extra window hints that will be assigned to the window when builtMethod parameters in com.googlecode.lanterna.gui2.dialogs with type arguments of type Window.HintModifier and TypeMethodDescriptionAbstractDialogBuilder.setExtraWindowHints
(Set<Window.Hint> extraWindowHints) Assigns a set of extra window hints that you want the built dialog to haveMessageDialogBuilder.setExtraWindowHints
(Collection<Window.Hint> extraWindowHints) Assigns a set of extra window hints that you want the built dialog to have