public class BackgroundMouseUpEvent extends BrowserEvent<BackgroundMouseUpHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
BackgroundMouseUpEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to suppress default behavior of showing a dialog to add a new event with the passed
dates.
|
protected void |
dispatch(BackgroundMouseUpHandler handler) |
static <S extends HasBackgroundMouseUpHandlers & 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<BackgroundMouseUpHandler> |
getAssociatedType() |
java.util.Date |
getEndDate()
the datetime of the slot where the mouse button was released
|
java.util.Date |
getStartDate()
the datetime of the slot where the mouse button was depressed
|
static GwtEvent.Type<BackgroundMouseUpHandler> |
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 BackgroundMouseUpEvent(JavaScriptObject jsObj)
public static <S extends HasBackgroundMouseUpHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<BackgroundMouseUpHandler> getType()
protected void dispatch(BackgroundMouseUpHandler handler)
dispatch
in class GwtEvent<BackgroundMouseUpHandler>
public final GwtEvent.Type<BackgroundMouseUpHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<BackgroundMouseUpHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public java.util.Date getStartDate()
public java.util.Date getEndDate()