public interface HasError
Modifier and Type | Method and Description |
---|---|
void |
clearErrorOrSuccess()
Clear the error or success states.
|
void |
setError(String error)
Errors occur when an app fails to complete what is expected, such as:
- The app does not understand user input
- The system or app fails
- A user intends to run incompatible operations concurrently
|
void |
setHelperText(String helperText)
Apply a widgets help text.
|
void |
setSuccess(String success)
Set the success message marking a widget as success.
|
void setError(String error)
void setSuccess(String success)
void setHelperText(String helperText)
void clearErrorOrSuccess()
Copyright © 2018. All rights reserved.