Packageflexlib.containers
Classpublic class HAccordion
InheritanceHAccordion Inheritance AccordionBase Inheritance mx.core.Container



Public Properties
 PropertyDefined By
  headerLocation : String = left
Location of the header renderer for each content item.
HAccordion
 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
  contentHeight : Number
[override] [read-only] The height of the area, in pixels, in which content is displayed.
HAccordion
  contentWidth : Number
[override] [read-only]
HAccordion
 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
  
[override]
HAccordion
  
measure():void
[override]
HAccordion
Events
 Event Summary Defined By
 InheritedDispatched when the selected child container changes.AccordionBase
Styles
 Style Description Defined By
 InheritedType: Array CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
Specifies the alpha transparency values used for the background fill of components.
AccordionBase
 InheritedType: Array Format: Color CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
Specifies the colors used to tint the background fill of the component.
AccordionBase
 InheritedType: Number CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
Specifies the alpha transparency value of the focus skin.
AccordionBase
 InheritedType: String CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
Specifies which corners of the focus rectangle should be rounded.
AccordionBase
 InheritedType: Class CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
Skin used to draw the focus rectangle.
AccordionBase
 InheritedType: Number Format: Length CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
Thickness, in pixels, of the focus rectangle outline.
AccordionBase
 InheritedType: String CSS Inheritance: no
Name of the CSS style declaration that specifies styles for the accordion headers (tabs).
AccordionBase
  
headerWidth
Type: Number Format: Length CSS Inheritance: no
Width of each accordion header, in pixels. This style is used instead of headerWidth of the normal Accordion or VAccordion.
HAccordion
 InheritedType: Number Format: Length CSS Inheritance: no
Number of pixels between children in the horizontal direction.
AccordionBase
  
keepIconVertical
Type: Boolean
If true, the icon for each accordion header will remain vertical instead of being rotated by 90 degrees (like the entire header).
HAccordion
 InheritedType: Number Format: Time CSS Inheritance: no
Duration, in milliseconds, of the animation from one child to another.
AccordionBase
 InheritedType: Function CSS Inheritance: no
Tweening function used by the animation from one child to another.
AccordionBase
 InheritedType: Number Format: Length CSS Inheritance: no
Number of pixels between the container's bottom border and its content area.
AccordionBase
 InheritedType: Number Format: Length CSS Inheritance: no
Number of pixels between the container's top border and its content area.
AccordionBase
 InheritedType: Array Format: Color CSS Inheritance: no
Deprecated Since 3.0: Please Use headerStyleName
The two colors used to tint the background of the component when in its selected state.
AccordionBase
 InheritedType: uint Format: Color CSS Inheritance: yes
Color of header text when rolled over.
AccordionBase
 InheritedType: uint Format: Color CSS Inheritance: yes
Color of selected text.
AccordionBase
 InheritedType: Number Format: Length CSS Inheritance: no
Number of pixels between children in the vertical direction.
AccordionBase
Property Detail
contentHeightproperty
contentHeight:Number  [read-only] [override]

The height of the area, in pixels, in which content is displayed. You can override this getter if your content does not occupy the entire area of the container.


Implementation
    protected function get contentHeight():Number
contentWidthproperty 
contentWidth:Number  [read-only] [override]


Implementation
    protected function get contentWidth():Number
headerLocationproperty 
public var headerLocation:String = left

Location of the header renderer for each content item. Must be either AccordionHeaderLocation.LEFT or AccordionHeaderLocation.RIGHT

See also

Method Detail
getHeaderWidth()method
override protected function getHeaderWidth():Number

Returns
Number
measure()method 
override protected function measure():void