Javascript treeview widget.
More...
List of all members.
Detailed Description
Javascript treeview widget.
- See also:
- uty_treeview_start, uty_treeview_end, etc
Constructor & Destructor Documentation
function utyTreeview |
( |
|
id, |
|
|
|
onclick, |
|
|
|
ondblclick, |
|
|
|
ondispchange | |
|
) |
| | [inline] |
Member Function Documentation
function appendChildren |
( |
|
node, |
|
|
|
html | |
|
) |
| | [inline] |
append treeview children html to node
- Parameters:
-
| node | (domNode) the node to append children to |
| html | (string) the treeview nodes html |
function click |
( |
|
node |
) |
[inline] |
INTERNAL handle the click event
function collapse |
( |
|
node |
) |
[inline] |
function currentNode |
( |
|
) |
[inline] |
- Returns:
- the currently active node element (div domNode)
function dblclick |
( |
|
node |
) |
[inline] |
INTERNAL handle the dblclick event
function dispchange |
( |
|
node |
) |
[inline] |
INTERNAL handle the node expanded/collapsed event
function expand |
( |
|
node |
) |
[inline] |
function firstChild |
( |
|
node |
) |
[inline] |
- Returns:
- the INDEX of the first child div element that is a treeview node
- Parameters:
-
| node | (domNode) the node to search first child for |
- Note:
- return the index (not the element!)
function labelElement |
( |
|
node |
) |
[inline] |
INTERNAL return the html element containing the node displayed text
function parent |
( |
|
node |
) |
[inline] |
- Returns:
- the div element that is a the treeview parent of node
- Parameters:
-
| node | (domNode) the node to search parent for |
function removeChildren |
( |
|
node |
) |
[inline] |
INTERNAL remove all the html elements thet are treview child of node
function setCurrentNode |
( |
|
node |
) |
[inline] |
INTERNAL set the current node
function toString |
( |
|
) |
[inline] |
- Returns:
- "utyTreeview"
Reimplemented from utyWidget.
function treeImgElement |
( |
|
node |
) |
[inline] |
INTERNAL return the img element representing the node join to the tree
Member Data Documentation
javascript expression executed when a node is clicked
javascript expression executed when a node is double clicked
javascript expression executed when a node is expanded/collapsed
The documentation for this class was generated from the following file: