public class EventRepositionStop extends BrowserEvent<EventRepositionStopHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
EventRepositionStop(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the default drop behavior
|
protected void |
dispatch(EventRepositionStopHandler handler) |
static <S extends HasEventRepositionStopHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<EventRepositionStopHandler> |
getAssociatedType() |
java.util.Map |
getCustomValues()
additional custom values associated with the event
|
CalendarEvent |
getEvent()
the event that's about to be moved
|
CalendarEvent |
getNewEvent()
the event as it will be, unless this method returns false
|
static GwtEvent.Type<EventRepositionStopHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public EventRepositionStop(JavaScriptObject jsObj)
public static <S extends HasEventRepositionStopHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<EventRepositionStopHandler> getType()
protected void dispatch(EventRepositionStopHandler handler)
dispatch
in class GwtEvent<EventRepositionStopHandler>
public final GwtEvent.Type<EventRepositionStopHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<EventRepositionStopHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public CalendarEvent getEvent()
public CalendarEvent getNewEvent()
public java.util.Map getCustomValues()