Constructordijit._tree.dndSelector

dojo.require("dijit._tree.dndSelector");
defined in dijit/_tree/dndSelector.js

Usage

function (tree, params) (view source)
parametertypedescription
tree  
params  

Jump to PropertiesFunctionsBack to top

prepares the object to be garbage-collected
returns a data item by its key (id) console.log("Container getItem()", arguments,this.map, this.map[key], this.selection[key]);
FunctioninsertItems(item, parent)
inserts new data items (see Container's insertNodes method for details) we actually need to add things to the store here instead of adding noes to the tree directly
FunctionmarkupFactory(tree, params)
event processor for onmousedown
event processor for onmouseout
event processor for onmouseover
event processor for onmouseup
this function is called once, when mouse is out of our container
this function is called once, when mouse is over our container
unselects all items
Function_addItemClass(node: Node, type: String)
adds a class with prefix "dojoDndItem"
Function_changeState(type: String, newState: String)
changes a named state to new state value
gets a child, which is under the mouse at the moment, or null
removes a class with prefix "dojoDndItem"
unselects all items

Jump to FunctionsPropertiesBack to top