ui.TabPane.TabPage Extends
Object representing an individual tab pane.

Inheritance

Constructor

goog.ui.TabPane.TabPage(opt_elopt_titleopt_domHelper)

Parameters

opt_el : Element=
Container element to create the pane out of.
opt_title : (Element | string)=
Pane title or element to use as the title. If not specified the first element in the container is used as the title.
opt_domHelper : goog.dom.DomHelper=
Optional DOM helper The first parameter can be omitted.

Instance Methods

Public Protected Private
getContentElement() Element
No description.
Returns: Element  The content element.
code »
getIndex() ?number
No description.
Returns: ?number  The index of page in tab pane.
code »
getParent() ?goog.ui.TabPane
No description.
Returns: ?goog.ui.TabPane  The parent tab pane for page.
code »
getTitle() string
No description.
Returns: string  The title for tab page.
code »
getTitleElement() Element
No description.
Returns: Element  The title element.
code »
isEnabled() boolean
Returns if the page is enabled.
Returns: boolean  Whether the page is enabled or not.
code »
select()
Selects page in the associated tab pane.
code »
setEnabled(enabled)
Sets the enabled state.
Arguments:
enabled : boolean
Enabled state.
code »
setParent_(tabPaneopt_index)
Sets parent tab pane for tab page.
Arguments:
tabPane : ?goog.ui.TabPane
Tab strip object.
opt_index : number=
Index of page in pane.
code »
setTitle(title)
Sets title for tab page.
Arguments:
title : string
Title for tab page.
code »
setVisible_(visible)
Sets visible state for page content and updates style of tab.
Arguments:
visible : boolean
Visible state.
code »

Instance Properties

DomHelper used to interact with the document, allowing components to be created in a different window. This property is considered protected; subclasses of Component may refer to it directly.
Code »
elContent_ :
Content element
Code »
elTitle_ :
Title element
Code »
enabled_ :
Flags if this page is enabled and can be selected.
Code »
index_ :
Index for page in tab pane.
Code »
parent_ : goog.ui.TabPane
Parent TabPane reference.
Code »

Package ui.TabPane

Package Reference