public static enum MessageHelper.MessageType extends Enum<MessageHelper.MessageType>
| Enum Constant and Description |
|---|
alertMessage |
resolveMessage |
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType() |
String |
getMessage() |
static String |
getMessageByEventType(int eventType) |
static MessageHelper.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageHelper.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageHelper.MessageType resolveMessage
public static final MessageHelper.MessageType alertMessage
public static MessageHelper.MessageType[] values()
for (MessageHelper.MessageType c : MessageHelper.MessageType.values()) System.out.println(c);
public static MessageHelper.MessageType 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 nullpublic String getMessage()
public int getEventType()
public static String getMessageByEventType(int eventType)
Copyright © 2012. All Rights Reserved.