V - the type of editor value.public class ErrorHandlerMixin<V> extends Object implements HasEditorErrors<V>, HasErrorHandler
Editor.Ignore, Editor.Path| Constructor and Description |
|---|
ErrorHandlerMixin(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<EditorError> errors) |
public ErrorHandlerMixin(Widget widget)
ErrorHandler implementation.widget - the widgetpublic void clearErrors()
public ErrorHandler getErrorHandler()
getErrorHandler in interface HasErrorHandlerpublic ErrorHandlerType getErrorHandlerType()
getErrorHandlerType in interface HasErrorHandlerpublic void setErrorHandler(ErrorHandler handler)
setErrorHandler in interface HasErrorHandlerhandler - the new error handlerpublic void setErrorHandlerType(ErrorHandlerType type)
setErrorHandlerType in interface HasErrorHandlertype - the new error handler typepublic void showErrors(List<EditorError> errors)
showErrors in interface HasEditorErrors<V>Copyright © 2017. All rights reserved.