Package | Description |
---|---|
com.googlecode.lanterna.gui2.dialogs |
Modifier and Type | Method and Description |
---|---|
protected TextInputDialogBuilder |
TextInputDialogBuilder.self() |
TextInputDialogBuilder |
TextInputDialogBuilder.setInitialContent(String initialContent)
Sets the initial content the dialog will have
|
TextInputDialogBuilder |
TextInputDialogBuilder.setPasswordInput(boolean passwordInput)
Sets if the text box the dialog will have contains a password and should be masked (default:
false ) |
TextInputDialogBuilder |
TextInputDialogBuilder.setTextBoxSize(TerminalSize textBoxSize)
Sets the size of the text box the dialog will have
|
TextInputDialogBuilder |
TextInputDialogBuilder.setValidationPattern(Pattern pattern,
String errorMessage)
Helper method that assigned a validator to the text box the dialog will have which matches the pattern supplied
|
TextInputDialogBuilder |
TextInputDialogBuilder.setValidator(TextInputDialogResultValidator validator)
Sets the validator that will be attached to the text box in the dialog
|
Copyright © 2016. All rights reserved.