Package org.rspeer.game.component
Enum EnterInput.Type
- java.lang.Object
-
- java.lang.Enum<EnterInput.Type>
-
- org.rspeer.game.component.EnterInput.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<EnterInput.Type>
- Enclosing class:
- EnterInput
public static enum EnterInput.Type extends Enum<EnterInput.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_BEFRIENDED_PLAYER
ADD_IGNORED_PLAYER
BANK_ITEM_SEARCH
DELETE_BEFRIENDED_PLAYER
DELETE_IGNORED_PLAYER
JOIN_CHANNEL
MESSAGE_BEFRIENDED_PLAYER
PUBLIC_CHAT_FILTER
SET_A_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
static EnterInput.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static EnterInput.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOIN_CHANNEL
public static final EnterInput.Type JOIN_CHANNEL
-
ADD_BEFRIENDED_PLAYER
public static final EnterInput.Type ADD_BEFRIENDED_PLAYER
-
ADD_IGNORED_PLAYER
public static final EnterInput.Type ADD_IGNORED_PLAYER
-
DELETE_IGNORED_PLAYER
public static final EnterInput.Type DELETE_IGNORED_PLAYER
-
DELETE_BEFRIENDED_PLAYER
public static final EnterInput.Type DELETE_BEFRIENDED_PLAYER
-
MESSAGE_BEFRIENDED_PLAYER
public static final EnterInput.Type MESSAGE_BEFRIENDED_PLAYER
-
SET_A_NAME
public static final EnterInput.Type SET_A_NAME
-
BANK_ITEM_SEARCH
public static final EnterInput.Type BANK_ITEM_SEARCH
-
PUBLIC_CHAT_FILTER
public static final EnterInput.Type PUBLIC_CHAT_FILTER
-
-
Method Detail
-
values
public static EnterInput.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EnterInput.Type c : EnterInput.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnterInput.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId()
-
-