public class HiddenValidationErrorsEvent extends BrowserEvent<HiddenValidationErrorsHandler> implements Cancellable
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
HiddenValidationErrorsEvent(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 & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
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 GwtEvent.Type<HiddenValidationErrorsHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDownassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic HiddenValidationErrorsEvent(JavaScriptObject jsObj)
public static <S extends HasHiddenValidationErrorsHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<HiddenValidationErrorsHandler> getType()
protected void dispatch(HiddenValidationErrorsHandler handler)
dispatch in class GwtEvent<HiddenValidationErrorsHandler>public final GwtEvent.Type<HiddenValidationErrorsHandler> getAssociatedType()
getAssociatedType in class GwtEvent<HiddenValidationErrorsHandler>public void cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic java.util.Map getErrors()
{fieldName:errors}{fieldName:errors}