Enum Class FormControlType
- All Implemented Interfaces:
Serializable,Comparable<FormControlType>,Constable
表示表单控件的类型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FormControlTypeReturns the enum constant of this class with the specified name.static FormControlType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Button
此控件的类型是IButton。 -
CheckBox
该控件的类型是ICheckBox。 -
DropDown
此控件的类型是IDropDown。 -
GroupBox
该控件的类型是IGroupBox。 -
Label
此控件的类型是ILabel。 -
ListBox
该控件的类型是IListBox。 -
OptionButton
此控件的类型是IOptionButton。 -
ScrollBar
该控件的类型是IScrollBar。 -
Spinner
该控件的类型是ISpinner。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-