Class gxe.control.TabArray
				
				
Extends
					gxe.control.Control.
				
			
				Container supporting the display of an array of tabs.
Typically associated with:
gpt/gxe/core/ui/Tabs.xml
gpt/gxe/core/xml/ElementChoice.xml
Also extended by:
gxe.control.IndexedTabArray
				
				
					
Defined in:  gxe.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
- Fields borrowed from class gxe.control.Control:
- cfgObject, context, gxeId, htmlAttributes, htmlElement, htmlTag, htmlTextContent, parentControl, xmlNode, xmlParentElement
| Method Attributes | Method Name and Description | 
|---|---|
| _setTabStyle(nIndex)
								 Sets the CSS class name for a tab. | |
| activateIndex(nIndex)
								 Activates the tab at a given index. | |
| appendRadio(nIndex, sLabel, bIsActive)
								 Appends a radio button tab to the array. | |
| appendTab(nIndex, sLabel, bIsActive)
								 Appends a tab to the array. | 
- Methods borrowed from class gxe.control.Control:
- build, createHtmlElement, ensureVisibility, evaluateValue, execBuild, findFirstChildControl, focus, getLabelText, importCfgProperties, importHtmlAttributes, initialize, processCfgAttribute, processCfgElement, processChildren
| Event Attributes | Event Name and Description | 
|---|---|
| onTabClicked(nIndex)
								 Fired when a tab is clicked. | 
- Events borrowed from class gxe.control.Control:
- fireOnEvent, onChildControlCreated, onEvent, onHtmlChildrenCreated, onHtmlElementCreated
					Method Detail
				
				
					 
					
					
					
					_setTabStyle(nIndex)
					
					
					
						Sets the CSS class name for a tab.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index of the tab
					
					
					activateIndex(nIndex)
					
					
					
						Activates the tab at a given index.
Once activated, the onTabClicked event is fired.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index of the tab to activate
					
					
					appendRadio(nIndex, sLabel, bIsActive)
					
					
					
						Appends a radio button tab to the array.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index of the tab
- {String} sLabel
- the label for the tab
- {boolean} bIsActive
- true if the new tab should be active (i.e. selected)
					
					
					appendTab(nIndex, sLabel, bIsActive)
					
					
					
						Appends a tab to the array.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index of the tab
- {String} sLabel
- the label for the tab
- {boolean} bIsActive
- true if the new tab should be active (i.e. selected)
					Event Detail
				
				
					 
					
					
					
					onTabClicked(nIndex)
					
					
					
						Fired when a tab is clicked.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index of the clicked tab