Package | flexlib.containers |
Class | public class HAccordion |
Inheritance | HAccordion ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
headerLocation : String = "left"
Location of the header renderer for each content item.
| HAccordion | ||
![]() | headerRenderer : IFactory
A factory used to create the navigation buttons for each child.
| AccordionBase | |
![]() | historyManagementEnabled : Boolean
If set to
true , this property enables history management
within this Accordion container. | AccordionBase | |
![]() | resizeToContent : Boolean
If set to
true , this Accordion automatically resizes to
the size of its current child. | AccordionBase | |
![]() | selectedChild : Container
A reference to the currently visible child container.
| AccordionBase | |
![]() | selectedIndex : int
The zero-based index of the currently visible child container.
| AccordionBase |
Property | Defined by | ||
---|---|---|---|
![]() | accMinHeight : Number | AccordionBase | |
![]() | accPreferredHeight : Number | AccordionBase | |
![]() | accPreferredWidth : Number | AccordionBase | |
contentHeight : Number [read-only]
The height of the area, in pixels, in which content is displayed.
| HAccordion | ||
contentWidth : Number [read-only]
| HAccordion | ||
![]() | tween : Tween | AccordionBase | |
![]() | tweenContentHeight : Number | AccordionBase | |
![]() | tweenContentWidth : Number | AccordionBase | |
![]() | tweenNewSelectedIndex : int | AccordionBase | |
![]() | tweenOldSelectedIndex : int | AccordionBase |
Method | Defined by | ||
---|---|---|---|
getHeaderWidth():Number
| HAccordion | ||
measure():void
| HAccordion |
Style | Description | Defined by | ||
---|---|---|---|---|
![]() | Type: Array CSS Inheritance: no | AccordionBase | ||
![]() | Type: Array Format: Color CSS Inheritance: no | AccordionBase | ||
![]() | Type: Number CSS Inheritance: no | AccordionBase | ||
![]() | Type: String CSS Inheritance: no | AccordionBase | ||
![]() | Type: String CSS Inheritance: no Name of 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 | ||
![]() | Type: 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 | ||
![]() | Type: Number Format: Time CSS Inheritance: no Duration, in milliseconds, of the animation from one child to another. | AccordionBase | ||
![]() | Type: Function CSS Inheritance: no Tweening function used by the animation from one child to another. | AccordionBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's bottom border and its content area. | AccordionBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's top border and its content area. | AccordionBase | ||
![]() | Type: Array Format: Color CSS Inheritance: no | AccordionBase | ||
![]() | Type: uint Format: Color CSS Inheritance: yes Color of header text when rolled over. | AccordionBase | ||
![]() | Type: uint Format: Color CSS Inheritance: yes Color of selected text. | AccordionBase | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between children in the vertical direction. | AccordionBase |
contentHeight | property |
contentHeight:Number
[read-only]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
contentWidth | property |
contentWidth:Number
[read-only]Implementation
protected function get contentWidth():Number
headerLocation | property |
public var headerLocation:String = "left"
Location of the header renderer for each content item. Must be either
AccordionHeaderLocation.LEFT
or AccordionHeaderLocation.RIGHT
See also
getHeaderWidth | () | method |
protected override function getHeaderWidth():Number
Returns
Number |
measure | () | method |
protected override function measure():void