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()
HasErrorHandler
getErrorHandler
in interface HasErrorHandler
public ErrorHandlerType getErrorHandlerType()
HasErrorHandler
getErrorHandlerType
in interface HasErrorHandler
public void setErrorHandler(ErrorHandler handler)
HasErrorHandler
setErrorHandler
in interface HasErrorHandler
handler
- the new error handlerpublic void setErrorHandlerType(ErrorHandlerType type)
HasErrorHandler
setErrorHandlerType
in interface HasErrorHandler
type
- 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.