Package | Description |
---|---|
com.ur.urcap.api.domain.userinteraction.inputvalidation | |
com.ur.urcap.api.domain.userinteraction.keyboard |
Modifier and Type | Method and Description |
---|---|
InputValidator<Double> |
InputValidationFactory.createDoubleRangeValidator(double minValue,
double maxValue)
Creates a range validator for doubles which can be used to ensure that input values are between a specified
upper and lower boundary.
|
InputValidator<Integer> |
InputValidationFactory.createIntegerRangeValidator(int minValue,
int maxValue)
Creates a range validator for integers which can be used to ensure that input values are between a specified
upper and lower boundary.
|
InputValidator<String> |
InputValidationFactory.createStringLengthValidator(int minLength,
int maxLength)
Creates a validator which checks that the length of an input string is within the specified range.
|
Modifier and Type | Method and Description |
---|---|
KeyboardTextInput |
KeyboardTextInput.setErrorValidator(InputValidator<String> validator)
Sets an input validator for the virtual keyboard.
|
KeyboardNumberInput<T> |
KeyboardNumberInput.setErrorValidator(InputValidator<T> validator)
Sets an input validator for the virtual numeric keypad.
|
Copyright © 2018. All rights reserved.