com.smartgwt.client.widgets.form.fields.events
Class ClickEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
com.smartgwt.client.event.AbstractSmartEvent<ClickHandler>
com.smartgwt.client.widgets.form.fields.events.ClickEvent
public class ClickEvent
- extends AbstractSmartEvent<ClickHandler>
ClickEvent
public ClickEvent(JavaScriptObject jsObj)
fire
public static <S extends HasClickHandlers & HasHandlers> void 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.
- Type Parameters:
S
- The event source- Parameters:
source
- the source of the handlersjsObj
- the native event
getType
public static GwtEvent.Type<ClickHandler> getType()
- Gets the type associated with this event.
- Returns:
- returns the handler type
dispatch
protected void dispatch(ClickHandler handler)
- Description copied from class:
GwtEvent
- Should only be called by
HandlerManager
. In other words, do not use
or call.
- Specified by:
dispatch
in class GwtEvent<ClickHandler>
- Parameters:
handler
- handler
getAssociatedType
public final GwtEvent.Type<ClickHandler> getAssociatedType()
- Description copied from class:
GwtEvent
- Returns the type used to register this event. Used by handler manager to
dispatch events to the correct handlers.
- Specified by:
getAssociatedType
in class GwtEvent<ClickHandler>
- Returns:
- the type
getForm
public DynamicForm getForm()
- the managing DynamicForm instance
- Returns:
- the managing DynamicForm instance
getItem
public FormItem getItem()
- the form item itself (also available as "this")
- Returns:
- the form item itself (also available as "this")