|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DragEvent
Defined in dnd.js
Field Summary | |
boolean |
continueDrag
A boolean indicating whether or not to continue the drag operation. |
Point |
mouse
The mouse co-ordinates, relative to the parent of the widget being dragged, at the time of the event. |
Point |
widget
The co-ordinates of the widget being dragged, relative to its parent, at the time of the event. |
Point |
widgetDelta
A vector describing the widget's change in position from the start of the drag to now. |
Constructor Summary | |
DragEvent
(<Point> mouse, <Point> widget, widgetDelta)
Creates an object to pass information about a drag event to interested listeners. |
Method Summary | |
string
|
toString()
Returns a string-representation of this DragEvent .
|
Field Detail |
boolean continueDrag
true
. Changing it to
false
will cause the drag operation to terminate as quickly
as possible.
Point mouse
Point widget
Point widgetDelta
Constructor Detail |
function DragEvent(<Point> mouse, <Point> widget, widgetDelta)
mouse
- the co-ordinates of the mouse relative to the parent of the widget being dragged
widget
- the co-ordinates of the widget being dragged relative to its parent
Method Detail |
string toString()
DragEvent
.
DragEvent
as a string
|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |