public class TimelineEventResized extends BrowserEvent<TimelineEventResizedHandler> implements Cancellable
jsObj
Constructor and Description |
---|
TimelineEventResized(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to disallow the resize
|
protected void |
dispatch(TimelineEventResizedHandler handler) |
static <S extends HasTimelineEventResizedHandlers & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<TimelineEventResizedHandler> |
getAssociatedType() |
java.util.Date |
getEndDate()
new end date of the passed event
|
CalendarEvent |
getEvent()
the event that was resized
|
java.util.Date |
getStartDate()
new start date of the passed event
|
static com.google.gwt.event.shared.GwtEvent.Type<TimelineEventResizedHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public TimelineEventResized(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasTimelineEventResizedHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<TimelineEventResizedHandler> getType()
protected void dispatch(TimelineEventResizedHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<TimelineEventResizedHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<TimelineEventResizedHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<TimelineEventResizedHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public CalendarEvent getEvent()
public java.util.Date getStartDate()
public java.util.Date getEndDate()