public class DragResizeStartEvent extends AbstractSmartEvent<DragResizeStartHandler> implements Cancellable
jsObj
Constructor and Description |
---|
DragResizeStartEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the default behavior of allowing the shape to be drag-resized
|
protected void |
dispatch(DragResizeStartHandler handler) |
static <S extends HasDragResizeStartHandlers & 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<DragResizeStartHandler> |
getAssociatedType() |
int |
getNewHeight()
new height of this draw item
|
int |
getNewWidth()
new width of this draw item
|
int |
getNewX()
new X coordinate of this draw item within the DrawPane
|
int |
getNewY()
new Y coordinate of this draw item within the DrawPane
|
static com.google.gwt.event.shared.GwtEvent.Type<DragResizeStartHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
assertLive, getSource, isLive, kill, revive
public DragResizeStartEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasDragResizeStartHandlers & 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<DragResizeStartHandler> getType()
protected void dispatch(DragResizeStartHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<DragResizeStartHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<DragResizeStartHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<DragResizeStartHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public int getNewX()
public int getNewY()
public int getNewWidth()
public int getNewHeight()