public enum Tab extends Enum<Tab>
Enum Constant and Description |
---|
ALLOTMENT |
BIRD_HOUSE |
BUSH |
CLOCK |
FLOWER |
FRUIT_TREE |
GRAPE |
HERB |
HOPS |
OVERVIEW |
SPECIAL |
TREE |
Modifier and Type | Field and Description |
---|---|
static Tab[] |
FARMING_TABS |
Modifier and Type | Method and Description |
---|---|
static Tab |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tab[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tab OVERVIEW
public static final Tab CLOCK
public static final Tab BIRD_HOUSE
public static final Tab ALLOTMENT
public static final Tab FLOWER
public static final Tab HERB
public static final Tab TREE
public static final Tab FRUIT_TREE
public static final Tab HOPS
public static final Tab BUSH
public static final Tab GRAPE
public static final Tab SPECIAL
public static final Tab[] FARMING_TABS
public static Tab[] values()
for (Tab c : Tab.values()) System.out.println(c);
public static Tab 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 nullCopyright © 2014–2019. All rights reserved.