Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Method | Description |
---|---|---|
static TextBox.Style |
TextBox.Style.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TextBox.Style[] |
TextBox.Style.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
TextBox(TerminalSize preferredSize,
TextBox.Style style) |
Creates a new empty
TextBox with a specific size and style |
TextBox(TerminalSize preferredSize,
String initialContent,
TextBox.Style style) |
Main constructor of the
TextBox which decides size, initial content and style |
TextBox(String initialContent,
TextBox.Style style) |
Creates a
TextBox that has an initial content and attempting to be big enough to display the whole text
at once without scrollbars. |
Copyright © 2020. All rights reserved.