Spiderscript Home
Class Index | File Index

Classes




Spiderscript Home
Class Index | File Index

Classes




Class SS.control.tabbar

Tab bar.
Defined in: SS.control.tabbar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
id
Identifier of the tabbar control.
 
Function called or evaluated {String} whenever the selected tab changes.
 
Function called or evaluated {String} whenever any tab is deselected.
 
Function called or evaluated {String} whenever any tab is selected.
 
Flag indicating if the tab bar is visible.
Method Summary
Method Attributes Method Name and Description
 
Renders the tabbar on the page.
 
Returns the selected tab.
 
Selects a tab based on the id specified or index position.
 
tabs()
Returns an array of the tab controls in the tabbar.
Class Detail
SS.control.tabbar()
Field Detail
id
Identifier of the tabbar control.

onchange
Function called or evaluated {String} whenever the selected tab changes.

ondeselect
Function called or evaluated {String} whenever any tab is deselected.

onselect
Function called or evaluated {String} whenever any tab is selected.

visible
Flag indicating if the tab bar is visible. Default = true.
Method Detail
render()
Renders the tabbar on the page.
Returns:
null

{SS.control.tab} selectedTab()
Returns the selected tab.
Returns:
{SS.control.tab} Selected tab SS.control.tab.

{SS.control.tab} selectTab(i)
Selects a tab based on the id specified or index position.
Parameters:
{String} i
Identifier or index position of the tab to select
Since:
v1.0.7.20090731
Returns:
{SS.control.tab} Selected tab SS.control.tab.

{Array} tabs()
Returns an array of the tab controls in the tabbar.
Returns:
{Array} Array of SS.control.tab.

Documentation generated by JsDoc Toolkit 2.1.0 on Wed Sep 30 2009 09:31:11 GMT+0100 (BST)