public static enum MMessageEvent.Direction extends java.lang.Enum<MMessageEvent.Direction>
| Enum Constant and Description |
|---|
RECEIVE |
SEND |
SENDRECEIVE |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
str |
| Modifier and Type | Method and Description |
|---|---|
static MMessageEvent.Direction |
getDirection(java.lang.String name) |
java.lang.String |
getString()
Get the string representation.
|
static MMessageEvent.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MMessageEvent.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MMessageEvent.Direction SEND
public static final MMessageEvent.Direction RECEIVE
public static final MMessageEvent.Direction SENDRECEIVE
public static MMessageEvent.Direction[] values()
for (MMessageEvent.Direction c : MMessageEvent.Direction.values()) System.out.println(c);
public static MMessageEvent.Direction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getString()
public static MMessageEvent.Direction getDirection(java.lang.String name)