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

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

public class DateRequestEvent<T>
extends com.google.gwt.event.shared.GwtEvent<DateRequestHandler<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 DateRequestEvent(T target, Object clicked)
          Creates a new delete event.
 
Method Summary
protected  void dispatch(DateRequestHandler<T> handler)
           
static
<T> void
fire(HasDateRequestHandlers<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.
static
<T> void
fire(HasDateRequestHandlers<T> source, T target, Object widget)
           
 com.google.gwt.event.shared.GwtEvent.Type<DateRequestHandler<T>> getAssociatedType()
           
 Object getClicked()
           
 T getTarget()
          Gets the target.
static com.google.gwt.event.shared.GwtEvent.Type<DateRequestHandler<?>> getType()
          Gets the type associated with this event.
 
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

DateRequestEvent

protected DateRequestEvent(T target,
                           Object clicked)
Creates a new delete event.

Parameters:
target - the ui object being opened
Method Detail

fire

public static <T> void fire(HasDateRequestHandlers<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

fire

public static <T> void fire(HasDateRequestHandlers<T> source,
                            T target,
                            Object widget)

getType

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

Returns:
returns the handler type

getAssociatedType

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

getTarget

public T getTarget()
Gets the target.

Returns:
the target

getClicked

public Object getClicked()

dispatch

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


Copyright © 2012. All Rights Reserved.