Gadgets.Tab (v0.9)

From VZ Developer Wiki
Revision as of 12:39, 29 July 2010 by Seba (talk | contribs) (Created page with '{{NeedsExamples}} <div style="float:right; margin: 0 0 10px 10px;">__TOC__</div> <span style="font-size:150%"><strong>gadgets.Tab</strong></span> Tab class for gadgets. You cre…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This documentation is not completed yet and will be extended by more examples in future.

gadgets.Tab

Tab class for gadgets. You create tabs using the TabSet addTab() method. To get Tab objects, use the TabSet getSelectedTab() or getTabs() methods. See also: TabSet

Methods

gadgets.Tab.getCallback

Function getCallback()
Returns
Type Description
Function The callback function of the tab
Description
Returns the callback function that is executed when the tab is selected.

gadgets.Tab.getContentContainer

HTMLElement getContentContainer()
Returns
Type Description
HTMLElement The HTML element of the content container
Description
Returns the HTML element where the tab content is rendered.

gadgets.Tab.getIndex

Number getIndex()
Returns
Type Description
Number The tab's index
Description
Returns the tab's index.

gadgets.Tab.getName

String getName()
Returns
Type Description
String The label of the tab
Description
Returns the label of the tab as a string (may contain HTML).

gadgets.Tab.getNameContainer

HTMLElement getNameContainer()
Returns
Type Description
HTMLElement The HTML element of the tab's label
Description
Returns the HTML element that contains the tab's label.



OpenSocial (v0.9)

gadgets

gadgets.io

gadgets.json

gadgets.Prefs

gadgets.util

gadgets.views

gadgets.flash

gadgets.MiniMessage

gadgets.oauth.Popup

gadgets.rpc

gadgets.skins

gadgets.pubsub

gadgets.Tab

gadgets.TabSet

gadgets.window

gadgets.i18n

opensocial

opensocial.Activity

opensocial.Address

opensocial.Album

opensocial.BodyType

opensocial.Collection

opensocial.CreateActivityPriority

opensocial.DataRequest

opensocial.DataResponse

opensocial.Email

opensocial.Enum

opensocial.Environment

opensocial.EscapeType

opensocial.IdSpec

opensocial.MediaItem

opensocial.Message

opensocial.MessageCollection

opensocial.Name

opensocial.NavigationParameters

opensocial.Organization

opensocial.Permission

opensocial.Person

opensocial.Phone

opensocial.ResponseItem

opensocial.Url

osapi.Request

osapi.BatchRequest

osapi.people

osapi.activities

osapi.appdata

osapi.messages

osapi.http