public static enum SPacketTitle.Type extends java.lang.Enum<SPacketTitle.Type>
Modifier and Type | Method and Description |
---|---|
static SPacketTitle.Type |
byName(java.lang.String name) |
static java.lang.String[] |
getNames() |
static SPacketTitle.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SPacketTitle.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPacketTitle.Type TITLE
public static final SPacketTitle.Type SUBTITLE
public static final SPacketTitle.Type TIMES
public static final SPacketTitle.Type CLEAR
public static final SPacketTitle.Type RESET
public static SPacketTitle.Type[] values()
for (SPacketTitle.Type c : SPacketTitle.Type.values()) System.out.println(c);
public static SPacketTitle.Type 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 static SPacketTitle.Type byName(java.lang.String name)
public static java.lang.String[] getNames()