Enum InputTypeEnum

java.lang.Object
java.lang.Enum<InputTypeEnum>
cn.mapway.ui.client.mvc.attribute.InputTypeEnum
All Implemented Interfaces:
Serializable, Comparable<InputTypeEnum>, java.lang.constant.Constable

public enum InputTypeEnum extends Enum<InputTypeEnum>
int INPUT_TEXTBOX = 0; int INPUT_DROPDOWNLIST = 1; int INPUT_CHECKBOX = 2; int INPUT_COLOR = 3; int INPUT_PATH = 4; int INPUT_FILE = 5; int INPUT_SLIDER = 6; int INPUT_OTHERS = 99; int INPUT_PATHALL = 7; int INPUT_TEXTAREA = 8; int INPUT_MULTIFILE = 9;
  • Enum Constant Details

  • Method Details

    • values

      public static InputTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static InputTypeEnum valueOf(String name)
      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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOfCode

      public static InputTypeEnum valueOfCode(Integer code)
    • getCode

      public int getCode()
    • getName

      public String getName()