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() |
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public 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 Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public java.util.Map getErrors()
{fieldName:errors}
{fieldName:errors}