com.bradrydzewski.gwt.calendar.client.event
Class DeleteEvent<T>

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<DeleteHandler<T>>
          extended by com.bradrydzewski.gwt.calendar.client.event.DeleteEvent<T>

public class DeleteEvent<T>
extends com.google.gwt.event.shared.GwtEvent<DeleteHandler<T>>

TODO: Complete Javadoc comments.

Author:
Brad Rydzewski

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
protected DeleteEvent(T target)
          Creates a new delete event.
 
Method Summary
protected  void dispatch(DeleteHandler<T> handler)
           
static
<T> boolean
fire(HasDeleteHandlers<T> source, T target)
          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<DeleteHandler<T>> getAssociatedType()
           
 T getTarget()
          Gets the target.
static com.google.gwt.event.shared.GwtEvent.Type<DeleteHandler<?>> getType()
          Gets the type associated with this event.
 boolean isCancelled()
           
 void setCancelled(boolean cancelled)
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteEvent

protected DeleteEvent(T target)
Creates a new delete event.

Parameters:
target - the ui object being opened
Method Detail

isCancelled

public boolean isCancelled()

setCancelled

public void setCancelled(boolean cancelled)

fire

public static <T> boolean fire(HasDeleteHandlers<T> source,
                               T target)
Fires a open event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing.

Type Parameters:
T - the target type
Parameters:
source - the source of the handlers
target - the target

getType

public static com.google.gwt.event.shared.GwtEvent.Type<DeleteHandler<?>> getType()
Gets the type associated with this event.

Returns:
returns the handler type

getAssociatedType

public final com.google.gwt.event.shared.GwtEvent.Type<DeleteHandler<T>> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<DeleteHandler<T>>

getTarget

public T getTarget()
Gets the target.

Returns:
the target

dispatch

protected void dispatch(DeleteHandler<T> handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<DeleteHandler<T>>


Copyright © 2012. All Rights Reserved.