com.smartgwt.client.widgets.events
Class DrawEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<DrawHandler>
com.smartgwt.client.widgets.events.DrawEvent
public class DrawEvent
- extends GwtEvent<DrawHandler>
Constructor Summary |
DrawEvent(java.lang.String ID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DrawEvent
public DrawEvent(java.lang.String ID)
getID
public java.lang.String getID()
fire
public static <S extends HasDrawHandlers & HasHandlers> void fire(S source,
java.lang.String ID)
- Fires a close event on all registered handlers in the handler manager.
- Type Parameters:
T
- the target typeS
- The event source- Parameters:
source
- the source of the handlerstarget
- the targetautoClosed
- was the target closed automatically
getType
public static GwtEvent.Type<DrawHandler> getType()
- Gets the type associated with this event.
- Returns:
- returns the handler type
dispatch
protected void dispatch(DrawHandler 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<DrawHandler>
- Parameters:
handler
- handler
getAssociatedType
public final GwtEvent.Type<DrawHandler> 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<DrawHandler>
- Returns:
- the type