Extras.Sync
AccordionPane
Class Hierarchy:

Component rendering peer: AccordionPane

Descendant Class Summary
Extras.Sync.AccordionPane.Rotation
Extras.Sync.AccordionPane.Tab

Constructor Summary
Public Extras.Sync.AccordionPane()

Class Field Summary
Internal _defaultTabBackground
Internal _defaultTabBorder
Internal _defaultTabForeground
Internal _defaultTabInsets
Internal _defaultTabContentInsets

Instance Method Summary
Public renderAdd()
Public renderDisplay()
Public renderUpdate()
Public renderDispose()
Internal _selectTab()
Selects a specific tab.
Internal _removeTab()
Removes a tab from an AccordionPane.
Internal _redrawTabs()
Redraws tabs in the appropriate positions, exposing the content of the selected tab.
Internal _rotateTabs()
"Rotates" the AccordionPane to display the specified tab.
Internal _getTabById()
Retrieves the tab instance with the specified tab id.
Internal _getTabBackground()
Internal _getTabBorder()
Public getTabHeight()
Determines the height of one or more tabs.
Internal _getTabInsets()

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

Constructor Detail
Echo.Render.ComponentSync()

Instance Method Detail
renderAdd

renderDisplay

renderUpdate

renderDispose

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

_removeTab
Removes a tab from an AccordionPane.
Parameters:
tab - the tab to remove

_redrawTabs
Redraws tabs in the appropriate positions, exposing the content of the selected tab.

_rotateTabs
"Rotates" the AccordionPane to display the specified tab.
Parameters:
oldTabId - {String} the currently displayed tab id
newTabId - {String} the id of the tab that will be displayed

_getTabById
Retrieves the tab instance with the specified tab id.
Parameters:
tabId - the tab id
Returns:
the tab, or null if no tab is present with the specified id

_getTabBackground

_getTabBorder

getTabHeight
Determines the height of one or more tabs. If only beginIndex is specified, the height of the tab at index beginIndex will be returned. Note that if endIndex is specified, the tab at index endIndex will NOT be included in the calculation, that is, to measure the height of tabs 2, 3, and 4, it is necessary specify beginIndex as 2 and endIndex as 5 (not 4).
Parameters:
beginIndex - the begin index, inclusive
endIndex - the end index, exclusive

_getTabInsets