public interface

HasEditorErrors

implements Editor<T>
com.google.gwt.editor.client.HasEditorErrors<T>
Known Indirect Subclasses

Class Overview

Editors that wish to be notified about ConstraintViolations in the value being edited should implement this interface.

Summary

Public Methods
abstract void showErrors(List<EditorError> errors)
Called by the EditorDriver to propagate errors.

Public Methods

public abstract 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 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