Enum Tab
- java.lang.Object
-
- java.lang.Enum<Tab>
-
- net.runelite.client.plugins.timetracking.Tab
-
- All Implemented Interfaces:
Serializable
,Comparable<Tab>
public enum Tab extends Enum<Tab>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOTMENT
BIRD_HOUSE
BUSH
CLOCK
FLOWER
FRUIT_TREE
GRAPE
HERB
HOPS
OVERVIEW
SPECIAL
TIME_OFFSET
TREE
-
Field Summary
Fields Modifier and Type Field Description static Tab[]
FARMING_TABS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getItemID()
String
getName()
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.
-
-
-
Enum Constant Detail
-
OVERVIEW
public static final Tab OVERVIEW
-
CLOCK
public static final Tab CLOCK
-
BIRD_HOUSE
public static final Tab BIRD_HOUSE
-
ALLOTMENT
public static final Tab ALLOTMENT
-
FLOWER
public static final Tab FLOWER
-
HERB
public static final Tab HERB
-
TREE
public static final Tab TREE
-
FRUIT_TREE
public static final Tab FRUIT_TREE
-
HOPS
public static final Tab HOPS
-
BUSH
public static final Tab BUSH
-
GRAPE
public static final Tab GRAPE
-
SPECIAL
public static final Tab SPECIAL
-
TIME_OFFSET
public static final Tab TIME_OFFSET
-
-
Field Detail
-
FARMING_TABS
public static final Tab[] FARMING_TABS
-
-
Method Detail
-
values
public static Tab[] 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 (Tab c : Tab.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tab 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
-
getName
public String getName()
-
getItemID
public int getItemID()
-
-