public class DragEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DragEvent.Type
States of a Drag.
|
| Constructor and Description |
|---|
DragEvent(com.google.gwt.user.client.Event nativeEvent,
DragEvent.Type type,
double x,
double y,
double offsetX,
double offsetY)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(DragEventsHandler handler)
Will dispatch this event.
|
com.google.gwt.user.client.Event |
getMyNnativeEvent()
Returns the myNnativeEvent.
|
DragEvent.Type |
getMyType()
Returns the myType.
|
com.google.gwt.user.client.Event |
getNativeEvent() |
double |
getOffsetX()
Returns the offsetX.
|
double |
getOffsetY()
Returns the offsetY.
|
boolean |
getStopPropagation() |
double |
getX()
Returns the x.
|
double |
getY()
Returns the y.
|
boolean |
isMyStopPropagation()
Returns the myStopPropagation.
|
void |
stopPropagation()
Will stop the event propagation.
|
public DragEvent(com.google.gwt.user.client.Event nativeEvent,
DragEvent.Type type,
double x,
double y,
double offsetX,
double offsetY)
nativeEvent - .type - .x - .y - .offsetX - .offsetY - .public void stopPropagation()
public boolean getStopPropagation()
public com.google.gwt.user.client.Event getNativeEvent()
public double getX()
public double getY()
public double getOffsetX()
public double getOffsetY()
public com.google.gwt.user.client.Event getMyNnativeEvent()
public boolean isMyStopPropagation()
public DragEvent.Type getMyType()
public void dispatch(DragEventsHandler handler)
handler - handlerCopyright © 2011–2015 SWM. All rights reserved.