Abstract
Stores references to objects being dragged, and objects to drop on. Override with a reference in outer scope, if drag&drop should operate outside of tree
Stores references to objects being dragged, and objects to drop on. Override with a reference in outer scope, if drag&drop should operate outside of tree
Used by the tree to indicate the drop position while dragging
Stores references to selected objects. Override with a reference in outer scope, if selection should also operate outside of tree
Abstract
addAbstract
copyAbstract
createCreate an HTMLElement for the tree item representing the object. e.g. an HTMLInputElement
Abstract
deleteRemove the objects to be deleted, e.g. the current selection, from the data structure the tree refers to and return a list of those objects in order for the according CustomTreeItem to be deleted also
The object currently having focus
Override if some objects should not be draggable
Abstract
getRetrieve a space separated string of attributes to add to the list item representing the object for further styling
Abstract
getAbstract
hasReturn true if the object has children that must be shown when unfolding the tree item
Abstract
setProcess the proposed new value. The id of the html element on which the change occured is passed
Subclass this to create a broker between your data and a CustomTree to display and manipulate it. The CustomTree doesn't know how your data is structured and how to handle it, the controller implements the methods needed