Class DHTMLSuite.imageSelection

Object
   |
   +--DHTMLSuite.imageSelection

class DHTMLSuite.imageSelection


Purpose of class: Tool to select objects(example: images) by dragging a rectangle around them. The objects will be made dragable
Demo: (Demo)
Defined in dhtml-suite-for-applications.js

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


Field Summary
 Object collectionModelReference
          
 Object destinationEls
          
 Object dragStatus
          
 Object layoutCSS
          
 Object objectIndex
          
 Object selectableEls
          
 Object selectableElsScreenProps
          
 Object selectedEls
          
 Object selectionResizeInProgress
          
 Object selectionStatus
          
 Object startCoordinates
          
 
Constructor Summary
DHTMLSuite.imageSelection ()
           
 
Method Summary
 void addDestinationElement(elementReference)
           Add single destination element
 Object addDestinationElementsByTagName(parentElementReference,tagName,className)
           Add selectable elements
 void addSelectableElement(elementReference)
           Add single selectable element
 void addSelectableElements(parentElementReference)
           Add selectable elements
 void init()
           Initializes the script
 void setCallBackFunctionOnDrop(functionName)
           Specify call back function - on drop This function will be called when elements are dropped on a destination node Arguments to this function will be an array of the dragged elements and a reference to the destionation object.
 void setSelectionStartArea(elementReference)
           Restrict where the selection may start.

Field Detail

collectionModelReference

Object collectionModelReference

destinationEls

Object destinationEls

dragStatus

Object dragStatus

layoutCSS

Object layoutCSS

objectIndex

Object objectIndex

selectableEls

Object selectableEls

selectableElsScreenProps

Object selectableElsScreenProps

selectedEls

Object selectedEls

selectionResizeInProgress

Object selectionResizeInProgress

selectionStatus

Object selectionStatus

startCoordinates

Object startCoordinates

Constructor Detail

DHTMLSuite.imageSelection

DHTMLSuite.imageSelection()

Method Detail

addDestinationElement

void addDestinationElement(elementReference)

addDestinationElementsByTagName

Object addDestinationElementsByTagName(parentElementReference,tagName,className)

addSelectableElement

void addSelectableElement(elementReference)

addSelectableElements

void addSelectableElements(parentElementReference)

init

void init()

setCallBackFunctionOnDrop

void setCallBackFunctionOnDrop(functionName)

setSelectionStartArea

void setSelectionStartArea(elementReference)


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