| Package | com.everythingflex.comps |
| Class | public class AccordionIcons |
| Inheritance | AccordionIcons mx.containers.Accordion |
The AccordionIcons component extends Accordion and allows for icons to be assigned to each pane
The icons will be automatically assigned to the appropriate pane each time the state of the Accordion changes.
MXML Syntax
Hide MXML Syntax
<flexlib:AccordionIcons
Properties
>
...
child containers (Canvas, VBox, HBox, etc.)
...
</flexlib:AccordionIcons>
| Property | Defined by | ||
|---|---|---|---|
| downIcon : Class
Property that holds the icon Class that will show when
the Accordion pane is below the selected pane
formats: gif,png,jpg
| AccordionIcons | ||
| downIcon : Class | AccordionIcons | ||
| selectedIcon : Class
Property that holds the icon Class that will show when
the Accordion pane is the selected pane
formats: gif,png,jpg
| AccordionIcons | ||
| selectedIcon : Class | AccordionIcons | ||
| upIcon : Class
Property that holds the icon Class that will show when
the Accordion pane is above the selected pane
formats: gif,png,jpg
| AccordionIcons | ||
| upIcon : Class | AccordionIcons | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
Initialize a default witdth of 400 and default height of 300
| AccordionIcons | ||
| Method | Defined by | ||
|---|---|---|---|
|
childrenCreated():void
The childrenCreated method is overridden to initialize the icons
and add the CHANGE EventListener.
| AccordionIcons | ||
| downIcon | property |
public var downIcon:ClassProperty that holds the icon Class that will show when the Accordion pane is below the selected pane formats: gif,png,jpg
The default value is downIcon.gif.
This property can be used as the source for data binding.
| downIcon | property |
public var downIcon:Class
| selectedIcon | property |
public var selectedIcon:ClassProperty that holds the icon Class that will show when the Accordion pane is the selected pane formats: gif,png,jpg
The default value is selectedIcon.gif.
This property can be used as the source for data binding.
| selectedIcon | property |
public var selectedIcon:Class
| upIcon | property |
public var upIcon:ClassProperty that holds the icon Class that will show when the Accordion pane is above the selected pane formats: gif,png,jpg
The default value is upIcon.gif.
This property can be used as the source for data binding.
| upIcon | property |
public var upIcon:Class
| AccordionIcons | () | constructor |
public function AccordionIcons()Constructor Initialize a default witdth of 400 and default height of 300
| childrenCreated | () | method |
protected override function childrenCreated():voidThe childrenCreated method is overridden to initialize the icons and add the CHANGE EventListener.