Packageflexlib.containers
Classpublic class VAccordion
InheritanceVAccordion Inheritance AccordionBase Inheritance mx.core.Container



Public Properties
 PropertyDefined by
  headerLocation : String = "above"
Location of the header renderer for each content item.
VAccordion
 InheritedheaderRenderer : IFactory
A factory used to create the navigation buttons for each child.
AccordionBase
 InheritedhistoryManagementEnabled : Boolean
If set to true, this property enables history management within this Accordion container.
AccordionBase
 InheritedresizeToContent : Boolean
If set to true, this Accordion automatically resizes to the size of its current child.
AccordionBase
 InheritedselectedChild : Container
A reference to the currently visible child container.
AccordionBase
 InheritedselectedIndex : int
The zero-based index of the currently visible child container.
AccordionBase
Protected Properties
 PropertyDefined by
 InheritedaccMinHeight : Number
AccordionBase
 InheritedaccPreferredHeight : Number
AccordionBase
 InheritedaccPreferredWidth : Number
AccordionBase
 InheritedcontentHeight : Number
The height of the area, in pixels, in which content is displayed.
AccordionBase
 InheritedcontentWidth : Number
The width of the area, in pixels, in which content is displayed.
AccordionBase
 Inheritedtween : Tween
AccordionBase
 InheritedtweenContentHeight : Number
AccordionBase
 InheritedtweenContentWidth : Number
AccordionBase
 InheritedtweenNewSelectedIndex : int
AccordionBase
 InheritedtweenOldSelectedIndex : int
AccordionBase
Public Methods
 MethodDefined by
 Inherited
getHeaderAt(index:int):Button
Returns a reference to the navigator button for a child container.
AccordionBase
 Inherited
loadState(state:Object):void
AccordionBase
 Inherited
saveState():Object
AccordionBase
Protected Methods
 MethodDefined by
  
startTween(oldSelectedIndex:int, newSelectedIndex:int):void
VAccordion
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
VAccordion
Events
 EventSummaryDefined by
 Inherited Dispatched when the selected child container changes.AccordionBase
Styles
 StyleDescriptionDefined by
 Inherited Type: Array   CSS Inheritance: no
AccordionBase
 Inherited Type: Array   Format: Color   CSS Inheritance: no
AccordionBase
 Inherited Type: Number   CSS Inheritance: no
AccordionBase
 Inherited Type: String   CSS Inheritance: no
AccordionBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Height of each accordion header, in pixels.
AccordionBase
 Inherited Type: String   CSS Inheritance: no
Name of CSS style declaration that specifies styles for the accordion headers (tabs).
AccordionBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between children in the horizontal direction.
AccordionBase
 Inherited Type: Number   Format: Time   CSS Inheritance: no
Duration, in milliseconds, of the animation from one child to another.
AccordionBase
 Inherited Type: Function   CSS Inheritance: no
Tweening function used by the animation from one child to another.
AccordionBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's bottom border and its content area.
AccordionBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's top border and its content area.
AccordionBase
 Inherited Type: Array   Format: Color   CSS Inheritance: no
AccordionBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of header text when rolled over.
AccordionBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of selected text.
AccordionBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between children in the vertical direction.
AccordionBase
Property detail
headerLocationproperty
public var headerLocation:String = "above"

Location of the header renderer for each content item. Must be either AccordionHeaderLocation.ABOVE or AccordionHeaderLocation.BELOW

See also

Method detail
startTween()method
protected override function startTween(oldSelectedIndex:int, newSelectedIndex:int):voidParameters
oldSelectedIndex:int
 
newSelectedIndex:int
updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number
 
unscaledHeight:Number