public class BackgroundClickEvent extends BrowserEvent<BackgroundClickHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
BackgroundClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the default behavior of creating a new event at the selected location and
showing its editor.
|
protected void |
dispatch(BackgroundClickHandler handler) |
static <S extends HasBackgroundClickHandlers & 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<BackgroundClickHandler> |
getAssociatedType() |
java.util.Date |
getEndDate()
end datetime of the selected slot
|
java.util.Date |
getStartDate()
start datetime of the selected slot
|
static GwtEvent.Type<BackgroundClickHandler> |
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 BackgroundClickEvent(JavaScriptObject jsObj)
public static <S extends HasBackgroundClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<BackgroundClickHandler> getType()
protected void dispatch(BackgroundClickHandler handler)
dispatch
in class GwtEvent<BackgroundClickHandler>
public final GwtEvent.Type<BackgroundClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<BackgroundClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public java.util.Date getStartDate()
public java.util.Date getEndDate()