public class TitleErrorHandler extends Object implements ErrorHandler
Modifier and Type | Field and Description |
---|---|
protected Widget |
target |
Constructor and Description |
---|
TitleErrorHandler(Widget target) |
Modifier and Type | Method and Description |
---|---|
void |
clearInvalid()
Clears the errors from the field.
|
void |
markInvalid(List<EditorError> errors)
Assigns errors to be displayed on the field.
|
void |
release()
Called to indicate that the instance will no longer be used, and should clean itself up.
|
public void clearInvalid()
ErrorHandler
clearInvalid
in interface ErrorHandler
public void markInvalid(List<EditorError> errors)
ErrorHandler
markInvalid
in interface ErrorHandler
errors
- the errors to display to the userpublic void release()
ErrorHandler
ErrorHandler.clearInvalid()
method should be called prior to this to clean up any leftover errors.release
in interface ErrorHandler
Copyright © 2018. All rights reserved.