public interface DragListener
| Modifier and Type | Method and Description |
|---|---|
void |
onDrag(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
This event is fired at the source of the drag, that is, the element where DragStart was fired, during the drag
operation.
|
void |
onDragEnd(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
The source of the drag will receive a DragEnd event when the drag operation is complete, whether it was
successful or not.
|
void |
onDragStart(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
Fired on an element when a drag is started.
|
void onDragStart(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
sender - The object the user is requesting to drag.x - the horizontal coordinate of the mouse when the event was fired.y - the vertical coordinate of the mouse when the event was fired.void onDrag(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
sender - The object being dragged.x - the horizontal coordinate of the mouse when the event was fired.y - the vertical coordinate of the mouse when the event was fired.void onDragEnd(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
sender - The object the the user has stopped dragging.x - the horizontal coordinate of the mouse when the event was fired.y - the vertical coordinate of the mouse when the event was fired.Copyright © 2004–2015 XWiki. All rights reserved.