public class ErrorMixin<T extends com.google.gwt.user.client.ui.UIObject & HasError,H extends com.google.gwt.user.client.ui.UIObject & com.google.gwt.user.client.ui.HasText> extends Object implements HasError
| Constructor and Description |
|---|
ErrorMixin(T widget,
H textObject,
com.google.gwt.user.client.ui.UIObject target) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearErrorOrSuccess() |
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) |
void |
setSuccess(String success) |
void |
setUiObject(T uiObject) |
public ErrorMixin(T widget, H textObject, com.google.gwt.user.client.ui.UIObject target)
public void setError(String error)
HasErrorpublic void setSuccess(String success)
setSuccess in interface HasErrorpublic void setHelperText(String helperText)
setHelperText in interface HasErrorpublic void clearErrorOrSuccess()
clearErrorOrSuccess in interface HasErrorpublic void setUiObject(T uiObject)
Copyright © 2016. All rights reserved.