| Package | ardisia.components.fieldSet |
| Class | public class FieldSet |
| Inheritance | FieldSet ExpandingContainer spark.components.SkinnableContainer |
View the technical documentation on the Ardisia Labs website for more information.
Default MXML PropertymxmlContentFactory
| Property | Defined By | ||
|---|---|---|---|
| collapsible : Boolean
If true, the fieldset can be collapsed. | FieldSet | ||
![]() | duration : Number = 150
The duration of the expand/collapse animations. | ExpandingContainer | |
![]() | easer : IEaser
The easer to use for expand/collapse animations. | ExpandingContainer | |
| legend : String
The string to display in the legend. | FieldSet | ||
![]() | open : Boolean
True if the component is open. | ExpandingContainer | |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
| Skin State | Description | Defined By | ||
|---|---|---|---|---|
animating | Skin state when the fieldset is expanding or contracting. | FieldSet | ||
![]() | Skin state when the panel is expanded. | ExpandingContainer | ||
openAndCollapsible | Skin state when the fieldset is open and can be collapsed. Use the 'open' skinState when you want the fieldSet expanded but not collapsible. | FieldSet | ||
| collapsible | property |
collapsible:BooleanIf true, the fieldset can be collapsed.
The default value is true.
public function get collapsible():Boolean public function set collapsible(value:Boolean):void| legend | property |
legend:StringThe string to display in the legend.
The default value is "Legend".
public function get legend():String public function set legend(value:String):void