BiAccordionPane
This class is used for creating accordion controls. A accordion control contains
one or more BiAccordionPage. Each accordion page also
has a BiAccordionButton that is shown above the
page and when the button is clicked the page is shown.
Pages are oriented vertically from top to bottom and can either be statically shown or animated.
The property animationSpeed (a) alters the speed (s) in proportion to the animated
page height (h), using the following formula h2 = h1 - h1 / a, every 0.05 s.
This class extends
BiComponent
and therefore all methods and fields available for
BiComponent
are also available for
BiAccordionPane
.
Constructor
new
BiAccordionPane
(
)
Parameters
No parameters.
Properties
| Name | Type | get | set | Descripton |
animated |
Boolean |
![]() |
![]() |
Whether the pages are animated or not |
animationSpeed |
Float |
![]() |
![]() |
Animation speed (1 - infinite) where 1 is the same as setting animated to false. Default value is 1.4 |
isAnimated |
Boolean |
![]() |
Returns whether the pages are currently animated. | |
selected |
|
![]() |
![]() |
The currently selected accordion button. |
Methods
None.
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
