Enum Class ButtonType

java.lang.Object
java.lang.Enum<ButtonType>
com.github.shuaidd.enums.ButtonType
所有已实现的接口:
Serializable, Comparable<ButtonType>, java.lang.constant.Constable

public enum ButtonType extends Enum<ButtonType>
  • 枚举常量详细资料

    • CLICK

      public static final ButtonType CLICK
      应用按钮类型
    • VIEW

      public static final ButtonType VIEW
    • SCANCODE_PUSH

      public static final ButtonType SCANCODE_PUSH
    • SCANCODE_WAITMSG

      public static final ButtonType SCANCODE_WAITMSG
    • PIC_SYSPHOTO

      public static final ButtonType PIC_SYSPHOTO
    • PIC_PHOTO_OR_ALBUM

      public static final ButtonType PIC_PHOTO_OR_ALBUM
    • PIC_WEIXIN

      public static final ButtonType PIC_WEIXIN
    • LOCATION_SELECT

      public static final ButtonType LOCATION_SELECT
  • 字段详细资料

    • type

      private String type
    • description

      private String description
  • 构造器详细资料

    • ButtonType

      private ButtonType(String type, String description)
  • 方法详细资料

    • values

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

      public static ButtonType valueOf(String name)
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getType

      public String getType()
    • getDescription

      public String getDescription()