Modifier and Type | Method and Description |
---|---|
org.bukkit.inventory.ItemStack |
getItem() |
static MenuItem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MenuItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuItem BLANK
public static final MenuItem PREVIOUS
public static final MenuItem NEXT
public static final MenuItem CONFIRM
public static final MenuItem DENY
public static MenuItem[] values()
for (MenuItem c : MenuItem.values()) System.out.println(c);
public static MenuItem 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 org.bukkit.inventory.ItemStack getItem()