Package org.strassburger.tui4j.input
Class IntegerInput
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.strassburger.tui4j.input.Input
addValidationRule, addValidationRules, getCursor, getErrorMessage, getLabel, getPrinter, getPrompt, getScanner, isRetryOnInvalid, printPromptAndCursor, setCursor, setErrorMessage, setErrorMessage, setLabel, setLabel, setPrinter, setPrompt, setPrompt, setRetryOnInvalid, setScanner, validate
-
Constructor Details
-
IntegerInput
public IntegerInput()Deprecated.UseIntegerInput(Printer)instead -
IntegerInput
-
-
Method Details
-
read
Description copied from class:InputRead the input value- Specified by:
readin classInput<Integer,IntegerInput> - Returns:
- the input value
- Throws:
InputValidationException- if the input is invalid and retryOnInvalid is false
-
setInline
-
IntegerInput(Printer)instead