| Parameter | Type | Description |
|---|---|---|
| shape | dojox/gfx.Shape | a shape object to be moved. |
| params | Object | an optional configuration object. |
See the dojox/gfx/Moveable reference documentation for more information.
stops watching for possible move, deletes all references, so the object can be garbage-collected
called during the very first move notification, can be used to initialize coordinates, can be overwritten.
| Parameter | Type | Description |
|---|---|---|
| mover | dojox/gfx/Mover | A Mover instance that fired the event. |
event processor for onmousedown, creates a Mover for the shape
| Parameter | Type | Description |
|---|---|---|
| e | Event | mouse event |
event processor for onmousemove, used only for delayed drags
| Parameter | Type | Description |
|---|---|---|
| e | Event | mouse event |
event processor for onmouseup, used only for delayed delayed drags
| Parameter | Type | Description |
|---|---|---|
| e | Event | mouse event |
called during every move notification, should actually move the node, can be overwritten.
| Parameter | Type | Description |
|---|---|---|
| mover | dojox/gfx/Mover | A Mover instance that fired the event. |
| shift | Object | An object as {dx,dy} that represents the shift. |
called after every incremental move, can be overwritten.
| Parameter | Type | Description |
|---|---|---|
| mover | dojox/gfx/Mover | A Mover instance that fired the event. |
| shift | Object | An object as {dx,dy} that represents the shift. |
called before every move operation
| Parameter | Type | Description |
|---|---|---|
| mover | dojox/gfx/Mover | A Mover instance that fired the event. |
called after every move operation
| Parameter | Type | Description |
|---|---|---|
| mover | dojox/gfx/Mover | A Mover instance that fired the event. |
called before every incremental move, can be overwritten.
| Parameter | Type | Description |
|---|---|---|
| mover | dojox/gfx/Mover | A Mover instance that fired the event. |
| shift | Object | An object as {dx,dy} that represents the shift. |