Class Index | File Index

Classes


Class Exanpe.VerticalMenu

Represents a VerticalMenu. Can be accessed through JavaScript by its id.
Defined in: exanpe-t5-lib.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exanpe.VerticalMenu(id, selectedId)
Constructor
Field Summary
Field Attributes Field Name and Description
 
id
id of the instance
 
id of the selected menu item
Method Summary
Method Attributes Method Name and Description
 
Returns the state of a menu item.
 
Open or close the content of a menu item.
Class Detail
Exanpe.VerticalMenu(id, selectedId)
Constructor
Parameters:
{String} id
the id of the menu
{String} selectedId
the selected item in the menu
Field Detail
id
id of the instance

selectedId
id of the selected menu item
Method Detail
{boolean} isMenuItemSelected(id)
Returns the state of a menu item.
Parameters:
{String} id
the id of the menu item to check.
Returns:
{boolean} true if the menu item is selected, false otherwise

openOrCloseMenu(id)
Open or close the content of a menu item. Open the menu if menu item is selected, close it otherwise.
Parameters:
{String} id
the id of the menu item.

Documentation generated by JsDoc Toolkit 2.0.0 on Mon Jan 09 2012 21:35:39 GMT+0100 (CET)