public class HiddenValidationErrorsEvent extends AbstractSmartEvent<HiddenValidationErrorsHandler> implements Cancellable
jsObj| Constructor and Description |
|---|
HiddenValidationErrorsEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
void | cancel() false from this method to suppress that behavior |
protected void | dispatch(HiddenValidationErrorsHandler handler) |
static <S extends HasHiddenValidationErrorsHandlers & com.google.gwt.event.shared.HasHandlers> | fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj) Fires a open event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing. |
com.google.gwt.event.shared.GwtEvent.Type<HiddenValidationErrorsHandler> | getAssociatedType() |
java.util.Map | getErrors() The set of errors returned - this is an object of the form {fieldName:errors}Where the 'errors' object is either a single string or an array of strings containing the error messages for the field. |
static com.google.gwt.event.shared.GwtEvent.Type<HiddenValidationErrorsHandler> | getType() Gets the type associated with this event. |
boolean | isCancelled() |
getFiringInstanceAsJavaScriptObjectassertLive, getSource, isLive, kill, revivepublic HiddenValidationErrorsEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasHiddenValidationErrorsHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<HiddenValidationErrorsHandler> getType()
protected void dispatch(HiddenValidationErrorsHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<HiddenValidationErrorsHandler>public final com.google.gwt.event.shared.GwtEvent.Type<HiddenValidationErrorsHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<HiddenValidationErrorsHandler>public void cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic java.util.Map getErrors()
{fieldName:errors}{fieldName:errors}