Enum XpProgressBarLabel
- java.lang.Object
-
- java.lang.Enum<XpProgressBarLabel>
-
- net.runelite.client.plugins.xptracker.XpProgressBarLabel
-
- All Implemented Interfaces:
Serializable
,Comparable<XpProgressBarLabel>
public enum XpProgressBarLabel extends Enum<XpProgressBarLabel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HOURS_TO_LEVEL
PERCENTAGE
TIME_TO_LEVEL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<net.runelite.client.plugins.xptracker.XpSnapshotSingle,String>
getValueFunc()
static XpProgressBarLabel
valueOf(String name)
Returns the enum constant of this type with the specified name.static XpProgressBarLabel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERCENTAGE
public static final XpProgressBarLabel PERCENTAGE
-
TIME_TO_LEVEL
public static final XpProgressBarLabel TIME_TO_LEVEL
-
HOURS_TO_LEVEL
public static final XpProgressBarLabel HOURS_TO_LEVEL
-
-
Method Detail
-
values
public static XpProgressBarLabel[] 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 (XpProgressBarLabel c : XpProgressBarLabel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XpProgressBarLabel 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
-
-