public static enum PublicServiceMenu.PublicServiceMenuItemType extends java.lang.Enum<PublicServiceMenu.PublicServiceMenuItemType>
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMessage()
获取菜单命令消息。
|
int |
getValue()
获取菜单类型。
|
static PublicServiceMenu.PublicServiceMenuItemType |
setValue(int code)
设置公众服务菜单类型。
|
static PublicServiceMenu.PublicServiceMenuItemType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static PublicServiceMenu.PublicServiceMenuItemType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PublicServiceMenu.PublicServiceMenuItemType Group
public static final PublicServiceMenu.PublicServiceMenuItemType View
public static final PublicServiceMenu.PublicServiceMenuItemType Click
public static final PublicServiceMenu.PublicServiceMenuItemType Entry
public static PublicServiceMenu.PublicServiceMenuItemType[] values()
for (PublicServiceMenu.PublicServiceMenuItemType c : PublicServiceMenu.PublicServiceMenuItemType.values()) System.out.println(c);
public static PublicServiceMenu.PublicServiceMenuItemType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()
public java.lang.String getMessage()
public static PublicServiceMenu.PublicServiceMenuItemType setValue(int code)
code
- 公众服务菜单类型的值。Copyright © 2020 RongCloud. All Rights Reserved.