com.bradrydzewski.gwt.calendar.client.event
Class CreateEvent<T>
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<CreateHandler<T>>
com.bradrydzewski.gwt.calendar.client.event.CreateEvent<T>
public class CreateEvent<T>
- extends com.google.gwt.event.shared.GwtEvent<CreateHandler<T>>
TODO: Complete JavaDoc comments.
- Author:
- Brad Rydzewski
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
|
Constructor Summary |
protected |
CreateEvent(T target)
Creates a new delete 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 |
CreateEvent
protected CreateEvent(T target)
- Creates a new delete event.
- Parameters:
target - the ui object being opened
isCancelled
public boolean isCancelled()
setCancelled
public void setCancelled(boolean cancelled)
fire
public static <T> boolean fire(HasUpdateHandlers<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 handlerstarget - the target
getType
public static com.google.gwt.event.shared.GwtEvent.Type<CreateHandler<?>> getType()
- Gets the type associated with this event.
- Returns:
- returns the handler type
getAssociatedType
public final com.google.gwt.event.shared.GwtEvent.Type<CreateHandler<T>> getAssociatedType()
- Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<CreateHandler<T>>
getTarget
public T getTarget()
- Gets the target.
- Returns:
- the target
dispatch
protected void dispatch(CreateHandler<T> handler)
- Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<CreateHandler<T>>
Copyright © 2012. All Rights Reserved.