dojo.dnd.move.parentConstrainedMoveable
Object » dojo.dnd.Moveable » dojo.dnd.move.constrainedMoveable » dojo.dnd.move.parentConstrainedMoveable
dojo.require("dojo.dnd.move");
defined in dojo/dnd/move.js
an object, which makes a node moveable
parameter | type | description |
---|---|---|
node | Node | a node (or node's id) to be moved |
params | Object | an optional object with additional parameters; following parameters are recognized: area: String: a parent's area to restrict the move, can be "margin", "border", "padding", or "content". the rest is passed to the base class |
FunctionsBack to top
Overrides dojo.dnd.move.constrainedMoveable
a function, which calculates a constraint box, it is called in a context of the moveable object.

Defined by dojo.dnd.Moveable
stops watching for possible move, deletes all references, so the object can be garbage-collected

Defined by dojo.dnd.Moveable, dojo.dnd.move.constrainedMoveable
called during the very first move notification, can be used to initialize coordinates, can be overwritten.

Defined by dojo.dnd.Moveable
event processor for onmousedown, creates a Mover for the node

Defined by dojo.dnd.Moveable
event processor for onmousemove, used only for delayed drags

Defined by dojo.dnd.Moveable
event processor for onmouseup, used only for delayed delayed drags
Defined by dojo.dnd.Moveable, dojo.dnd.move.constrainedMoveable
called during every move notification, should actually move the node, can be overwritten.
Defined by dojo.dnd.Moveable
called after every incremental move, can be overwritten. default implementation does nothing
Defined by dojo.dnd.Moveable
called before every incremental move, can be overwritten. default implementation does nothing
PropertiesBack to top
Defined by dojo.dnd.move.constrainedMoveable
Defined by dojo.dnd.Moveable
Defined by dojo.dnd.Moveable
a node (or node's id), which is used as a mouse handle if omitted, the node itself is used as a handle
Defined by dojo.dnd.move.constrainedMoveable
restrict move within boundaries. the rest is passed to the base class
Defined by dojo.dnd.Moveable
Defined by dojo.dnd.Moveable