FlexAccordion Class

Description

An Accordion navigator container has a collection of child containers, but only one of them at a time is visible. It creates and manages navigator buttons (accordion headers), which you use to navigate between the children.

There is one navigator button associated with each child container, and each navigator button belongs to the Accordion container, not to the child. When the user clicks a navigator button, the associated child container is displayed. The transition to the new child uses an animation to make it clear to the user that one child is disappearing and a different one is appearing.

The Accordion container does not extend the ViewStack container, but it implements all the properties, methods, styles, and events of the ViewStack container, such as selectedIndex and selectedChild.

Availability

This class is supported only on the Open Agent.

Inheritance

FlexAccordion is derived from the FlexContainer class. No classes derive from this class.

Methods

In addition to the methods it inherits from FlexContainer, FlexObject, FlexDisplayObject, and AnyWin, FlexAccordion has the following methods:

Properties

In addition to the properties it inherits from FlexContainer, FlexObject, FlexDisplayObject, and AnyWin, FlexAccordion has the following properties: