public static enum SimpleItem.ItemType extends java.lang.Enum<SimpleItem.ItemType>
Enum Constant and Description |
---|
BANK_ITEM |
EQUIPMENT_ITEM |
INVENTORY_ITEM |
SHOP_ITEM |
TRADE_ITEM |
WIDGET_ITEM |
Modifier and Type | Method and Description |
---|---|
static SimpleItem.ItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleItem.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleItem.ItemType INVENTORY_ITEM
public static final SimpleItem.ItemType EQUIPMENT_ITEM
public static final SimpleItem.ItemType BANK_ITEM
public static final SimpleItem.ItemType SHOP_ITEM
public static final SimpleItem.ItemType TRADE_ITEM
public static final SimpleItem.ItemType WIDGET_ITEM
public static SimpleItem.ItemType[] values()
for (SimpleItem.ItemType c : SimpleItem.ItemType.values()) System.out.println(c);
public static SimpleItem.ItemType 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 null