Class Index | File Index

Classes


Class BTM.UI.TreeView [Experimental]

Dynamic Tree view to display nested data
Defined in: ui.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BTM.UI.TreeView(element, options) [Experimental]
Method Summary
Method Attributes Method Name and Description
 
initItem(element)
Initialize an item in the Tree
 
toggle(element, button)
Toggle the disaplay of a branch within the Tree View
Class Detail
BTM.UI.TreeView(element, options) [Experimental]
Parameters:
{HTMLElement|String} element
element ID or element reference to nested Unordered List
{Object} options Optional
the options object
{Boolean} options.defaultOpen Optional, Default: calculated
flag to default the TreeView to expanded (open)
Method Detail
initItem(element)
Initialize an item in the Tree
Parameters:
{HTMLElement|String} element
element ID or reference to element in the Tree View

toggle(element, button)
Toggle the disaplay of a branch within the Tree View
Parameters:
{HTMLElement|String} element
element ID or reference to Unordered List to be toggled
{HTMLElement|String} button
element ID or reference to the element used as a toggle button

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Feb 03 2009 04:12:53 GMT+1100 (EST)