Package | Description |
---|---|
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.gui2.dialogs |
Modifier and Type | Field and Description |
---|---|
static 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 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 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 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 Window.Hint |
Window.Hint.FIXED_SIZE
Windows with this hint should not be automatically sized by the window manager (using
getPreferredSize() ), rather should rely on the code manually setting the size of the window using
setSize(..) . |
static Window.Hint |
Window.Hint.FULL_SCREEN
A window with this hint would like to be placed covering the entire screen.
|
static 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 Window.Hint |
Window.Hint.NO_DECORATIONS
With this hint, the TextGUI system should not draw any decorations around the window.
|
static Window.Hint |
Window.Hint.NO_FOCUS
With this hint, the window should never receive focus by the window manager
|
static Window.Hint |
Window.Hint.NO_POST_RENDERING
With this hint, the TextGUI system should skip running any post renderers for the window.
|
Modifier and Type | Method and Description |
---|---|
Set<Window.Hint> |
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.
|
Set<Window.Hint> |
AbstractWindow.getHints() |
Modifier and Type | Method and Description |
---|---|
void |
Window.setHints(Collection<Window.Hint> hints)
Updates the set of active hints for this window.
|
void |
AbstractWindow.setHints(Collection<Window.Hint> hints) |
Modifier and Type | Field and Description |
---|---|
protected Set<Window.Hint> |
AbstractDialogBuilder.extraWindowHints |
Modifier and Type | Method and Description |
---|---|
Set<Window.Hint> |
AbstractDialogBuilder.getExtraWindowHints()
Returns the list of extra window hints that will be assigned to the window when built
|
Modifier and Type | Method and Description |
---|---|
B |
AbstractDialogBuilder.setExtraWindowHints(Set<Window.Hint> extraWindowHints)
Assigns a set of extra window hints that you want the built dialog to have
|
Copyright © 2016. All rights reserved.