|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DragAction
An action which may be invoked when the mouse is dragged. See UserEventManager for further details.
| Method Summary | |
|---|---|
void |
mouseDragEnded(Widget target,
PointView releasedPoint,
PointView dragOffset)
Invoked when a mouse-drag ends. |
void |
mouseDragged(Widget target,
PointView mousePoint,
PointView dragOffset)
Invoked when the mouse is dragged. |
void |
mousePressed(Widget target,
PointView pressedPoint)
Invoked on mouse-press, when the drag possibly started. |
void |
mouseReleased(Widget target,
PointView point)
Invoked on mouse-release, when the drag action did not occur following the mouse-press. |
| Method Detail |
|---|
void mousePressed(Widget target,
PointView pressedPoint)
target - The widget where the mouse was pressed.pressedPoint - The point where the mouse was pressed.
void mouseReleased(Widget target,
PointView point)
target - The widget where the mouse-drag started.point - The point where the mouse was pressed and released.
void mouseDragged(Widget target,
PointView mousePoint,
PointView dragOffset)
target - The widget where the mouse was dragged.mousePoint - The current location of the mouse pointer.dragOffset - The offset from the point where the mouse was pressed
to the current point.
void mouseDragEnded(Widget target,
PointView releasedPoint,
PointView dragOffset)
target - The widget where the mouse was dragged.releasedPoint - The point where the mouse was released.dragOffset - The offset from the point where the mouse was pressed to
the current point.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||