|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<DragMoveEvent.DragMoveHandler>
com.sencha.gxt.fx.client.DragMoveEvent
public class DragMoveEvent
Fires when a draggable item is moved.
| Nested Class Summary | |
|---|---|
static interface |
DragMoveEvent.DragMoveHandler
Handler for DragMoveEvent events. |
static interface |
DragMoveEvent.HasDragMoveHandlers
A widget that implements this interface is a public source of DragMoveEvent events. |
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
DragMoveEvent(Widget target,
Element startElement,
int x,
int y,
Event event)
|
|
| Method Summary | |
|---|---|
GwtEvent.Type<DragMoveEvent.DragMoveHandler> |
getAssociatedType()
|
NativeEvent |
getNativeEvent()
Returns the native event. |
Draggable |
getSource()
|
Element |
getStartElement()
|
Widget |
getTarget()
|
static GwtEvent.Type<DragMoveEvent.DragMoveHandler> |
getType()
Gets the type associated with this event. |
int |
getX()
Returns the widget's page coordinates. |
int |
getY()
Returns the widget's page coordinates. |
boolean |
isCancelled()
Returns true if the event is cancelled. |
void |
setCancelled(boolean cancel)
True to cancel the event. |
void |
setX(int x)
|
void |
setY(int y)
|
| Methods inherited from class com.google.web.bindery.event.shared.Event |
|---|
toDebugString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DragMoveEvent(Widget target,
Element startElement,
int x,
int y,
Event event)
| Method Detail |
|---|
public static GwtEvent.Type<DragMoveEvent.DragMoveHandler> getType()
public GwtEvent.Type<DragMoveEvent.DragMoveHandler> getAssociatedType()
getAssociatedType in class GwtEvent<DragMoveEvent.DragMoveHandler>public NativeEvent getNativeEvent()
public Draggable getSource()
getSource in class GwtEvent<DragMoveEvent.DragMoveHandler>public Element getStartElement()
public Widget getTarget()
public int getX()
public int getY()
public boolean isCancelled()
CancellableEvent
isCancelled in interface CancellableEventpublic void setCancelled(boolean cancel)
CancellableEvent
setCancelled in interface CancellableEventcancel - true to cancelpublic void setX(int x)
public void setY(int y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||