flexlib :: library Documentation | All Packages | All Classes | Index | Frames No Frames |
VAccordion

Package | flexlib.containers
Class | public class VAccordion
Inheritance | VAccordion AccordionBase mx.core.Container

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | headerLocation : String = above Location of the header renderer for each content item. | VAccordion
|  | 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

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| 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. | AccordionBase
|  | contentWidth : Number [read-only] The width of the area, in pixels, in which content is displayed. | AccordionBase
|  | tween : Tween | AccordionBase
|  | tweenContentHeight : Number | AccordionBase
|  | tweenContentWidth : Number | AccordionBase
|  | tweenNewSelectedIndex : int | AccordionBase
|  | tweenOldSelectedIndex : int | AccordionBase

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | getHeaderAt(index:int):Button Returns a reference to the navigator button for a child container. | AccordionBase
|  | loadState(state:Object):void | AccordionBase
|  | saveState():Object | AccordionBase

Protected Methods

| Method | Defined By
--- | --- | ---
|  | startTween(oldSelectedIndex:int, newSelectedIndex:int):void [override] | VAccordion
|  | updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | VAccordion

Events
Hide Inherited Events
Show Inherited Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | change | Dispatched when the selected child container changes. | AccordionBase

Styles
Hide Inherited Styles
Show Inherited Styles

| Style | Description | Defined By
--- | --- | --- | ---
|  | fillAlphas | Type: Array CSS Inheritance: no Deprecated Since 3.0: Please Use headerStyleName Specifies the alpha transparency values used for the background fill of components. | AccordionBase
|  | fillColors | Type: 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
|  | focusAlpha | Type: Number CSS Inheritance: no Deprecated Since 3.0: Please Use headerStyleName Specifies the alpha transparency value of the focus skin. | AccordionBase
|  | focusRoundedCorners | Type: String CSS Inheritance: no Deprecated Since 3.0: Please Use headerStyleName Specifies which corners of the focus rectangle should be rounded. | AccordionBase
|  | focusSkin | Type: Class CSS Inheritance: no Deprecated Since 3.0: Please Use headerStyleName Skin used to draw the focus rectangle. | AccordionBase
|  | focusThickness | Type: Number Format: Length CSS Inheritance: no Deprecated Since 3.0: Please Use headerStyleName Thickness, in pixels, of the focus rectangle outline. | AccordionBase
|  | headerHeight | Type: Number Format: Length CSS Inheritance: no Height of each accordion header, in pixels. | AccordionBase
|  | headerStyleName | Type: String CSS Inheritance: no Name of the CSS style declaration that specifies styles for the accordion headers (tabs). | AccordionBase
|  | horizontalGap | Type: Number Format: Length CSS Inheritance: no Number of pixels between children in the horizontal direction. | AccordionBase
|  | openDuration | Type: Number Format: Time CSS Inheritance: no Duration, in milliseconds, of the animation from one child to another. | AccordionBase
|  | openEasingFunction | Type: Function CSS Inheritance: no Tweening function used by the animation from one child to another. | AccordionBase
|  | paddingBottom | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's bottom border and its content area. | AccordionBase
|  | paddingTop | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's top border and its content area. | AccordionBase
|  | selectedFillColors | Type: 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
|  | textRollOverColor | Type: uint Format: Color CSS Inheritance: yes Color of header text when rolled over. | AccordionBase
|  | textSelectedColor | Type: uint Format: Color CSS Inheritance: yes Color of selected text. | AccordionBase
|  | verticalGap | Type: Number Format: Length CSS Inheritance: no Number of pixels between children in the vertical direction. | AccordionBase

Property Detail

headerLocation | property

`public var headerLocation:String = above`

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

See also

flexlib.containers.accordionClasses.AccordionHeaderLocation
Method Detail

startTween | () | method

`override protected function startTween(oldSelectedIndex:int, newSelectedIndex:int):void`

Parameters

| `oldSelectedIndex:int`
| `newSelectedIndex:int`

updateDisplayList | () | method |

`override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void`

Parameters

| `unscaledWidth:Number`
| `unscaledHeight:Number`

Mercredi Juillet 6 2011, 09:45 PM +02:00