Class Index | File Index

Classes


Class M.TabBarView

The is the prototype of any tab bar view. A tab bar view is a special variant of a toolbar at the top or bottom of a page, that consists of up to five horizontally aligned tabs. An M.TabBarView can be used the top navigation level for an application since it is always visible an indicates the currently selected tab.
Defined in: tab_bar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
This property holds a reference to the currently active tab.
 
Defines the position of the TabBar.
 
This property defines the tab bar's name.
 
The type of this object.
 
This property is used internally to count the number of usages of a tab bar.
Method Summary
Method Attributes Method Name and Description
 
This method visually activates a tab bar item based on a given page.
Class Detail
M.TabBarView()
Field Detail
{M.TabBarItemView} activeTab
This property holds a reference to the currently active tab.

{String} anchorLocation
Defines the position of the TabBar. Possible values are: - M.BOTTOM => is a footer tab bar - M.TOP => is a header tab bar - null / not set ==> a tab bar outside header / footer

{String} name
This property defines the tab bar's name. This is used internally to identify the tab bar inside the DOM.

{String} type
The type of this object.

usageCounter
This property is used internally to count the number of usages of a tab bar.
Method Detail
setActiveTab(tab)
This method visually activates a tab bar item based on a given page.
Parameters:
{M.TabBarItemView} tab
The tab to set active.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 25 2012 20:41:10 GMT+0100 (MEZ)