Uses of Class
com.googlecode.lanterna.gui2.dialogs.TextInputDialogBuilder
Packages that use TextInputDialogBuilder
-
Uses of TextInputDialogBuilder in com.googlecode.lanterna.gui2.dialogs
Methods in com.googlecode.lanterna.gui2.dialogs that return TextInputDialogBuilderModifier and TypeMethodDescriptionprotected TextInputDialogBuilder
TextInputDialogBuilder.self()
TextInputDialogBuilder.setInitialContent
(String initialContent) Sets the initial content the dialog will haveTextInputDialogBuilder.setPasswordInput
(boolean passwordInput) Sets if the text box the dialog will have contains a password and should be masked (default:false
)TextInputDialogBuilder.setTextBoxSize
(TerminalSize textBoxSize) Sets the size of the text box the dialog will haveTextInputDialogBuilder.setValidationPattern
(Pattern pattern, String errorMessage) Helper method that assigned a validator to the text box the dialog will have which matches the pattern suppliedTextInputDialogBuilder.setValidator
(TextInputDialogResultValidator validator) Sets the validator that will be attached to the text box in the dialog