V - the type of editor value.public class ErrorHandlerMixin<V> extends Object implements com.google.gwt.editor.client.HasEditorErrors<V>, HasErrorHandler
| Constructor and Description |
|---|
ErrorHandlerMixin(com.google.gwt.user.client.ui.Widget widget)
Mixin for the
ErrorHandler implementation. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearErrors()
Clear the errors.
|
ErrorHandler |
getErrorHandler()
Gets the error handler.
|
ErrorHandlerType |
getErrorHandlerType()
Gets the error handler type.
|
void |
setErrorHandler(ErrorHandler handler)
Sets the error handler.
|
void |
setErrorHandlerType(ErrorHandlerType type)
Sets the error handler type.
|
void |
showErrors(List<com.google.gwt.editor.client.EditorError> errors) |
public ErrorHandlerMixin(com.google.gwt.user.client.ui.Widget widget)
ErrorHandler implementation.widget - the widgetpublic void clearErrors()
public ErrorHandler getErrorHandler()
HasErrorHandlergetErrorHandler in interface HasErrorHandlerpublic ErrorHandlerType getErrorHandlerType()
HasErrorHandlergetErrorHandlerType in interface HasErrorHandlerpublic void setErrorHandler(ErrorHandler handler)
HasErrorHandlersetErrorHandler in interface HasErrorHandlerhandler - the new error handlerpublic void setErrorHandlerType(ErrorHandlerType type)
HasErrorHandlersetErrorHandlerType in interface HasErrorHandlertype - the new error handler typepublic void showErrors(List<com.google.gwt.editor.client.EditorError> errors)
showErrors in interface com.google.gwt.editor.client.HasEditorErrors<V>Copyright © 2018. All rights reserved.