📜  Flex-表单控件

📅  最后修改于: 2020-10-25 02:24:48             🧑  作者: Mango


表单控件允许用户输入数据并为他们提供与应用程序的交互功能。每个Form UI都从UIComponent类控制并继承属性,而UIComponent类又从EventDispatcher和其他顶级类继承属性。

Sr.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.

表单控件

以下是一些重要的表单控件-

Sr.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.