public class DragResizeMoveEvent extends AbstractSmartEvent<DragResizeMoveHandler> implements Cancellable
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
DragResizeMoveEvent(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(DragResizeMoveHandler handler) |
static <S extends HasDragResizeMoveHandlers & 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<DragResizeMoveHandler> |
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 GwtEvent.Type<DragResizeMoveHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic DragResizeMoveEvent(JavaScriptObject jsObj)
public static <S extends HasDragResizeMoveHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<DragResizeMoveHandler> getType()
protected void dispatch(DragResizeMoveHandler handler)
dispatch in class GwtEvent<DragResizeMoveHandler>public final GwtEvent.Type<DragResizeMoveHandler> getAssociatedType()
getAssociatedType in class GwtEvent<DragResizeMoveHandler>public void cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic int getNewX()
public int getNewY()
public int getNewWidth()
public int getNewHeight()