Extras.Sync
TabPane
Class Hierarchy:

Component rendering peer: TabPane

Descendant Class Summary
Extras.Sync.TabPane.ScrollRunnable
Extras.Sync.TabPane.Tab

Constructor Summary
Public Extras.Sync.TabPane()

Class Field Summary
Internal _supportedPartialProperties
Internal _paneInsets
Internal _defaultBorderType
Internal _defaultForeground
Internal _defaultInsets
Internal _defaultTabActiveBorder
Internal _defaultTabActiveHeightIncrease
Internal _defaultTabAlignment
Internal _defaultTabCloseIconTextMargin
Internal _defaultTabContentInsets
Internal _defaultTabIconTextMargin
Internal _defaultTabInactiveBorder
Internal _defaultTabInset
Internal _defaultTabInsets
Internal _defaultTabPosition
Internal _defaultTabSpacing

Instance Method Summary
Internal _addTab()
Adds a tab and renders it.
Internal _configureHeaderSize()
Internal _getActiveTabId()
Determines the renderId of the active tab child component.
Internal _getTabById()
Retrieves the tab instance with the specified tab id.
Internal _processScrollStart()
Handler for mouse down event on previous/next scroll buttons.
Internal _processScrollStop()
Handler for mouse up event on previous/next scroll buttons.
Internal _removeTab()
Removes a specific tab.
Public renderAdd()
Public renderDisplay()
Public renderDispose()
Public renderUpdate()
Internal _selectTab()
Selects a specific tab.
Internal _setActiveTabId()
Internal _setOversizeEnabled()
Public setScrollPosition()

Methods inherited from class Echo.Render.ComponentSync
renderAdd, renderDispose, renderUpdate

Constructor Detail
Echo.Render.ComponentSync()

Instance Method Detail
_addTab
Adds a tab and renders it.
Parameters:
update (Echo.Update.ComponentUpdate) - the component update
tab (Extras.Sync.TabPane.Tab) - the tab to be added
index - the index at which the tab should be added

_configureHeaderSize

_getActiveTabId
Determines the renderId of the active tab child component. This method first queries the component's activeTab property, and if it is not set, the id is determined by finding the child component at the index specified by the component's activeTabIndex property.
Returns:
(String) the active tab renderId

_getTabById
Retrieves the tab instance with the specified tab id.
Parameters:
tabId - the tab render id
Returns:
(Extras.Sync.TabPane.Tab) the tab, or null if no tab is present with the specified id

_processScrollStart
Handler for mouse down event on previous/next scroll buttons.

_processScrollStop
Handler for mouse up event on previous/next scroll buttons.

_removeTab
Removes a specific tab.
Parameters:
tab (Extras.Sync.TabPane.Tab) - the tab to remove

renderAdd

renderDisplay

renderDispose

renderUpdate

_selectTab
Selects a specific tab.
Parameters:
tabId - {String} the id of the tab to select

_setActiveTabId

_setOversizeEnabled

setScrollPosition