-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum AutoFormComponentType extends Enum<AutoFormComponentType>
对应的vue表单组件类型
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAutoFormComponentType.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO自动判定
CUSTOM自定义类型
UNKNOWN自动判定失败后的未知类型
STRINGstring 字符串类型 el-input
NUMBERnumber number类型,自动添加 .number 修饰符 el-input
BOOLEANboolean 布尔类型 el-switch
REGEXPregexp 正则表达式,必须是可以正确转化为 RegExp 实例的字符串 el-input
DATEdate 必须是合法的 Date 对象 el-date-picker
DATE_TIMEdate 必须是合法的 DateTime 对象 el-date-time-picker
OBJECTobject object 类型,配合 fields 和 defaultField 使用 dynamic-form-item
ARRAYarray array 类型,配合 defaultField 使用 dynamic-form-item
-
Method Summary
Modifier and Type Method Description final AutoFormComponentTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<AutoFormComponentType>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetValue()-
-
Method Detail
-
valueOf
final AutoFormComponentType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<AutoFormComponentType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-