Class DHTMLSuite.dragDropSimple

Object
   |
   +--DHTMLSuite.dragDropSimple

class DHTMLSuite.dragDropSimple


Purpose of class: A very simple drag and drop script. It makes a single element dragable but doesn't offer other features.
The constructor takes an associative array as only argument. Possible keys in this array:
cloneNode - Clone the node, i.e. make the clone dragable
allowMoveX - Allow drag along the x-axis
allowMoveY - Allow drag along the y-axis
minX - Minimum x coordinate on screen
minY - Minimum y coordinate on screen
maxX - Maximum x coordinate on screen
maxY - Maximum y coordinate on screen
callbackOnBeforeDrag - Name of function to execute before drag starts - The event object will be sent to this function.
callbackOnAfterDrag - Name of function to execute after drag - The event object will be sent to this function.
callbackOnDuringDrag - Name of function to execute during drag - The event object will be sent to this function.
elementReference -
dragHandle -


Demos: (demo 1, The window widget),
Defined in dhtml-suite-for-applications.js

Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0


Field Summary
 Object allowMoveX
          
 Object allowMoveY
          
 Object callbackOnAfterDrag
          
 Object callbackOnBeforeDrag
          
 Object cloneNode
          
 Object dragHandle
          
 Object dragStatus
          
 Object maxX
          
 Object maxY
          
 Object minX
          
 Object minY
          
 Object objectIndex
          
 Object positionSet
          
 
Constructor Summary
DHTMLSuite.dragDropSimple (propertyArray)
           
 

Field Detail

allowMoveX

Object allowMoveX

allowMoveY

Object allowMoveY

callbackOnAfterDrag

Object callbackOnAfterDrag

callbackOnBeforeDrag

Object callbackOnBeforeDrag

cloneNode

Object cloneNode

dragHandle

Object dragHandle

dragStatus

Object dragStatus

maxX

Object maxX

maxY

Object maxY

minX

Object minX

minY

Object minY

objectIndex

Object objectIndex

positionSet

Object positionSet

Constructor Detail

DHTMLSuite.dragDropSimple

DHTMLSuite.dragDropSimple(propertyArray)


Documentation generated by JSDoc on Mon Oct 8 10:17:27 2007