public static enum Wx.Category extends Enum<Wx.Category>
| Enum Constant and Description |
|---|
BUTTON
用户按钮事件
|
EVENT
包括按钮事件和用户事件(如关注)
后续可考虑分离按钮事件和用户时间
|
MESSAGE
收到用户消息
|
SYSTEM
系统事件
|
| Modifier and Type | Method and Description |
|---|---|
static Wx.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Wx.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Wx.Category MESSAGE
public static final Wx.Category EVENT
public static final Wx.Category BUTTON
public static final Wx.Category SYSTEM
public static Wx.Category[] values()
for (Wx.Category c : Wx.Category.values()) System.out.println(c);
public static Wx.Category valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Guangshan Technology, Inc.. All rights reserved.