Flex - Form Controls


Form controls allow the users to input data and provides them interaction capability with the application. Every Form UI controls and inherits properties from UIComponent class which in turn inherits properties from EventDispatcher and other top level classes.

S.No Control & Description
1 Flex EventDispatcher Class

The EventDispatcher class is the base class for all classes that can dispatch events. The EventDispatcher class allows any object on the display list to be an event target and as such, to use the methods of the IEventDispatcher interface.

2 Flex UIComponent

The UIComponent class is the base class for all visual components, both interactive and noninteractive.

Form Controls

Following are few important Form Controls −

S.No Control & Description
1 Button

The Button component is a commonly used rectangular button.

2 ToggleButton

The ToggleButton component defines a toggle button.

3 CheckBox

The CheckBox component consists of an optional label and a small box that can contain a check mark or not.

4 ColorPicker

The ColorPicker control provides a way for a user to choose a color from a swatch list.

5 ComboBox

The ComboBox control is a child class of the DropDownListBase control.

6 DateChooser

The DateChooser control displays the name of a month, the year, and a grid of the days of the month, with columns labeled for the day of the week.

7 RadioButton

The RadioButton component allows the user make a single choice within a set of mutually exclusive choices.

8 TextArea

TextArea is a text-entry control that lets users enter and edit multiple lines of formatted text.

9 TextInput

TextInput is a text-entry control that lets users enter and edit a single line of uniformly-formatted text.

10 DropDownList

The DropDownList control contains a drop-down list from which the user can select a single value.

11 NumericStepper

The NumericStepper control lets you select a number from an ordered set.