com.smartgwt.client.widgets.events
Class DrawEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<DrawHandler>
      extended by com.smartgwt.client.widgets.events.DrawEvent

public class DrawEvent
extends GwtEvent<DrawHandler>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
DrawEvent(java.lang.String ID)
           
 
Method Summary
protected  void dispatch(DrawHandler handler)
           
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.
 GwtEvent.Type<DrawHandler> getAssociatedType()
           
 java.lang.String getID()
           
static GwtEvent.Type<DrawHandler> getType()
          Gets the type associated with this event.
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DrawEvent

public DrawEvent(java.lang.String ID)
Method Detail

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 type
S - The event source
Parameters:
source - the source of the handlers
target - the target
autoClosed - 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)
Specified by:
dispatch in class GwtEvent<DrawHandler>

getAssociatedType

public final GwtEvent.Type<DrawHandler> getAssociatedType()
Specified by:
getAssociatedType in class GwtEvent<DrawHandler>