Package | flexlib.containers |
Class | public class VAccordion |
Inheritance | VAccordion ![]() ![]() |
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 |
Method | Defined by | ||
---|---|---|---|
startTween(oldSelectedIndex:int, newSelectedIndex:int):void
| VAccordion | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
| VAccordion |
headerLocation | property |
public var headerLocation:String = "above"
Location of the header renderer for each content item. Must be either
AccordionHeaderLocation.ABOVE
or AccordionHeaderLocation.BELOW
See also
startTween | () | method |
protected override function startTween(oldSelectedIndex:int, newSelectedIndex:int):void
Parameters
oldSelectedIndex:int |
|
newSelectedIndex:int |
updateDisplayList | () | method |
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Parameters
unscaledWidth:Number |
|
unscaledHeight:Number |