Package 

Enum AutoFormComponentType

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AUTO

      自动判定

      CUSTOM

      自定义类型

      UNKNOWN

      自动判定失败后的未知类型

      STRING

      string 字符串类型 el-input

      NUMBER

      number number类型,自动添加 .number 修饰符 el-input

      BOOLEAN

      boolean 布尔类型 el-switch

      REGEXP

      regexp 正则表达式,必须是可以正确转化为 RegExp 实例的字符串 el-input

      DATE

      date 必须是合法的 Date 对象 el-date-picker

      DATE_TIME

      date 必须是合法的 DateTime 对象 el-date-time-picker

      OBJECT

      object object 类型,配合 fields 和 defaultField 使用 dynamic-form-item

      ARRAY

      array array 类型,配合 defaultField 使用 dynamic-form-item

    • Method Summary

      Modifier and Type Method Description
      final AutoFormComponentType valueOf(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 String getValue()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

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