public static enum ItemMenu.Size extends Enum<ItemMenu.Size>
| Enum Constant and Description |
|---|
FIVE_LINE |
FOUR_LINE |
ONE_LINE |
SIX_LINE |
THREE_LINE |
TWO_LINE |
| Modifier and Type | Method and Description |
|---|---|
static ItemMenu.Size |
fit(int slots) |
static ItemMenu.Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemMenu.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemMenu.Size ONE_LINE
public static final ItemMenu.Size TWO_LINE
public static final ItemMenu.Size THREE_LINE
public static final ItemMenu.Size FOUR_LINE
public static final ItemMenu.Size FIVE_LINE
public static final ItemMenu.Size SIX_LINE
public static ItemMenu.Size[] values()
for (ItemMenu.Size c : ItemMenu.Size.values()) System.out.println(c);
public static ItemMenu.Size valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ItemMenu.Size fit(int slots)
Copyright © 2021. All rights reserved.