|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DragListener
Interface for listening to drag events.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||