.attributeMap | Object | A map of attributes and attachpoints -- typically standard HTML attributes -- to set on the widget's dom, at the "domNode" attach point, by default. Other node references can be specified as properties of 'this' |
.blurNode | Function | Removes focus from the currently focused node (which must be visible). Usually not called directly (just call focusNode() on another node instead) |
.buildRendering | Function | Construct the UI for this widget from a template, setting this.domNode. |
.checkAcceptance | | |
.checkItemAcceptance | | |
.childrenAttr | | one ore more attributes that holds children of a tree node |
.class | String | HTML class attribute |
.closable | | |
.connect | Function | Connects specified obj/event to specified method of this object and registers for disconnect() on widget destroy. Special event: "ondijitclick" triggers on a click or enter-down or space-up Similar to dojo.connect() but takes three arguments rather than four. |
.containerNode | DomNode | holds child elements. "containerNode" is generally set via a dojoAttachPoint assignment and it designates where children of the src dom node will be placed |
.containerNodeTemplate | | |
.cookieName | | |
.create | Function | Kick off the life-cycle of a widget |
.destroy | Function | |
.destroyDescendants | Function | Recursively destroy the children of this widget and their descendants. |
.destroyRecursive | Function | |
.destroyRendering | Function | Destroys the DOM nodes associated with this widget |
.dir | String | Unsupported by Dijit, but here for completeness. Dijit only supports setting text direction on the entire document. Bi-directional support, as defined by the [HTML DIR](http://www.w3.org/TR/html401/struct/dirlang.html#adef-dir) attribute. Either left-to-right "ltr" or right-to-left "rtl". |
.disconnect | Function | Disconnects handle created by this.connect. Also removes handle from this widget's list of connects |
.dndController | String | class name to use as as the dnd controller |
.dndParams | | |
.dojoAttachEvent | | |
.dojoAttachPoint | | |
.domNode | | |
.focusNode | Function | Focus on the specified node (which must be visible) |
.getDescendants | Function | Returns all the widgets that contained by this, i.e., all widgets underneath this.containerNode. |
.getIconClass | Function | user overridable function to return CSS class name to display icon |
.getItemChildren | Function | User overridable function that return array of child items of given parent item, or if parentItem==null then return top items in tree |
.getLabel | Function | user overridable function to get the label for a tree node (given the item) |
.getLabelClass | Function | user overridable function to return CSS class name to display label |
.id | String | a unique, opaque ID string that can be assigned by users or by the system. If the developer passes an ID which is known not to be unique, the specified ID is ignored and the system-generated ID is used instead. |
.isExpandable | | |
.isFocusable | Function | Return true if this widget can currently be focused and false if not |
.isLeftToRight | Function | Checks the DOM to for the text direction for bi-directional support |
.isTree | | |
.itemCreator | | |
.label | String | Deprecated. Use dijit.tree.ForestStoreModel directly instead. Used in conjunction with query parameter. If a query is specified (rather than a root node id), and a label is also specified, then a fake root node is created and displayed, with this label. |
.lang | String | Rarely used. Overrides the default Dojo locale used to render this widget, as defined by the [HTML LANG](http://www.w3.org/TR/html401/struct/dirlang.html#adef-lang) attribute. Value must be among the list of locales specified during by the Dojo bootstrap, formatted according to [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt) (like en-us). |
.lastFocused | | |
.layoutAlign | | |
.maxSize | | |
.mayHaveChildren | Function | User overridable function to tell if an item has or may have children. Controls whether or not +/- expando icon is shown. (For efficiency reasons we may not want to check if an element actually has children until user clicks the expando node) |
.minSize | | |
.model | dijit.Tree.model | Alternate interface from store to access data (and changes to data) in the tree |
.nodesWithKeyClick | | |
.onBlur | Function | stub function. Override or connect to this method to receive notifications for when the widget moves out of focus. |
.onClick | Function | user overridable function for executing a tree item |
.onClose | Function | Callback if someone tries to close the child, child will be closed if func returns true |
.onDndCancel | | |
.onDndDrop | | |
.onFocus | Function | stub function. Override or connect to this method to receive notifications for when the widget moves into focus. |
.openOnClick | Boolean | If true, clicking a folder node's label will open it, rather than calling onClick() |
.params | | |
.persist | Boolean | enables/disables use of cookies for state saving. |
.postCreate | Function | |
.postMixInProperties | Function | |
.postscript | Function | |
.query | | Specifies datastore query to return the root item for the tree. Deprecated functionality: if the query returns multiple items, the tree is given a fake root node (not corresponding to any item in the data store), whose children are the items that match this query. The root node is shown or hidden based on whether a label is specified. Having a query return multiple items is deprecated. If your store doesn't have a root item, wrap the store with dijit.tree.ForestStoreModel, and specify model=myModel |
.region | | |
.rootNode | | |
.selected | | |
.setAttribute | Function | Set native HTML attributes reflected in the widget, such as readOnly, disabled, and maxLength in TextBox widgets. |
.showRoot | Boolean | Should the root node be displayed, or hidden? |
.sizeMin | | |
.sizeShare | | |
.splitter | | |
.srcNodeRef | DomNode | pointer to original dom node |
.srcNodeRef.id | | |
.startup | Function | Called after a widget's children, and other widgets on the page, have been created. Provides an opportunity to manipulate any children before they are displayed. This is useful for composite widgets that need to control or layout sub-widgets. Many layout widgets can use this as a wiring phase. |
.store | | |
.style | String | HTML style attribute |
.templateNode | DomNode | a node that represents the widget template. Pre-empts both templateString and templatePath. |
.templatePath | | |
.templateString | String | a string that represents the widget template. Pre-empts the |
.title | | |
.toString | Function | |
.tree | | |
.uninitialize | Function | stub function. Override to implement custom widget tear-down behavior. |
.waiRole | | |
.waiState | | |
.widgetsInTemplate | Boolean | should we parse the template to find widgets that might be declared in markup inside it? false by default. |
._attaches | | |
._attachTemplateNodes | Function | Iterate through the template and attach functions and nodes accordingly. |
._collapseNode | Function | called when the user has requested to collapse the node |
._connects | | |
._expandNode | Function | called when the user has requested to expand the node |
._fillContent | Function | relocate source contents to templated container node this.containerNode must be able to receive children, or exceptions will be thrown |
._getNextNode | Function | get next visible node |
._getRootOrFirstNode | Function | get first visible node |
._itemNodeMap | | |
._keyHandlerMap | | |
._load | Function | initial load of the tree load root node (possibly hidden) and it's children |
._ltr | | |
._onBlur | Function | We've moved away from the whole tree. The currently "focused" node (see focusNode above) should remain as the lastFocused node so we can tab back into the tree. Just change CSS to get rid of the dotted border until that time |
._onClick | Function | translates click events into commands for the controller to process |
._onDownArrow | Function | down arrow pressed; get next visible node, set focus there |
._onEndKey | Function | end pressed; go to last visible node |
._onEnterKey | Function | |
._onExpandoClick | Function | user clicked the +/- icon; expand or collapse my children. |
._onFocus | Function | |
._onHomeKey | Function | home pressed; get first visible node, set focus there |
._onItemChange | Function | set data event on an item in the store |
._onItemChildrenChange | Function | set data event on an item in the store |
._onItemDelete | Function | delete event from the store TODO: currently this isn't called, and technically doesn't need to be, but it would help with garbage collection |
._onKeyPress | Function | translates keypress events into commands for the controller |
._onLeftArrow | Function | Left arrow pressed. If not collapsed, collapse, else move to parent. |
._onLetterKeyNav | Function | letter key pressed; search for node starting with first char = key |
._onRightArrow | Function | right arrow pressed; go to child node |
._onTreeFocus | Function | called from onFocus handler of treeitem labelNode to set styles, wai state and tabindex for currently focused treeitem. |
._onUpArrow | Function | up arrow pressed; move to previous visible node |
._openedItemIds | | |
._publish | Function | Publish a message for this widget/topic |
._saveState | Function | create and save a cookie with the currently expanded nodes identifiers |
._skipNodeCache | | |
._started | | |
._store2model | Function | user specified a store&query rather than model, so create model from store/query |
._stringRepl | Function | |
._supportingWidgets | | |
._v10Compat | | |