Interface HasEditorErrors<T>

Type Parameters:
T - the type of object the editor displays.
All Superinterfaces:
Editor<T>
All Known Implementing Classes:
ValueBoxEditorDecorator

public interface HasEditorErrors<T> extends Editor<T>
Editors that wish to be notified about ConstraintViolations in the value being edited should implement this interface.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor

    Editor.Ignore, Editor.Path
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called by the EditorDriver to propagate errors.
  • Method Details

    • showErrors

      void showErrors(List<EditorError> errors)
      Called by the EditorDriver to propagate errors. May be called with a zero-length list to indicate that any existing error condition should be cleared.

      An Editor may consume any errors reported by its sub-Editors by calling EditorError.setConsumed(boolean). Any unconsumed editors will be reported up the Editor hierarchy and will eventually be emitted by the EditorDriver.

      Parameters:
      errors - an unmodifiable list of EditorErrors