| Package | Description |
|---|---|
| com.codename1.ui.validation |
The validation framework allows us to mark invalid input in text components and disable components
in the case of invalid input
|
| Modifier and Type | Method and Description |
|---|---|
static Validator.HighlightMode |
Validator.getDefaultValidationFailureHighlightMode()
Indicates the default mode in which validation failures are expressed
|
Validator.HighlightMode |
Validator.getValidationFailureHighlightMode()
Indicates the default mode in which validation failures are expressed
|
static Validator.HighlightMode |
Validator.HighlightMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validator.HighlightMode[] |
Validator.HighlightMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Validator.setDefaultValidationFailureHighlightMode(Validator.HighlightMode aDefaultValidationFailureHighlightMode)
Indicates the default mode in which validation failures are expressed
|
void |
Validator.setValidationFailureHighlightMode(Validator.HighlightMode validationFailureHighlightMode)
Indicates the default mode in which validation failures are expressed
|
Copyright © 2021. All rights reserved.