public class EventRepositionMove extends BrowserEvent<EventRepositionMoveHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
EventRepositionMove(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the default drag move behavior
|
protected void |
dispatch(EventRepositionMoveHandler handler) |
static <S extends HasEventRepositionMoveHandlers & 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<EventRepositionMoveHandler> |
getAssociatedType() |
CalendarEvent |
getEvent()
the event that's being moved
|
CalendarEvent |
getNewEvent()
the event as it would be if dropped now
|
static GwtEvent.Type<EventRepositionMoveHandler> |
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 EventRepositionMove(JavaScriptObject jsObj)
public static <S extends HasEventRepositionMoveHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<EventRepositionMoveHandler> getType()
protected void dispatch(EventRepositionMoveHandler handler)
dispatch
in class GwtEvent<EventRepositionMoveHandler>
public final GwtEvent.Type<EventRepositionMoveHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<EventRepositionMoveHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public CalendarEvent getEvent()
public CalendarEvent getNewEvent()