Enum StatusBarsConfig.BarMode
- java.lang.Object
-
- java.lang.Enum<StatusBarsConfig.BarMode>
-
- net.runelite.client.plugins.statusbars.StatusBarsConfig.BarMode
-
- All Implemented Interfaces:
Serializable
,Comparable<StatusBarsConfig.BarMode>
- Enclosing interface:
- StatusBarsConfig
public static enum StatusBarsConfig.BarMode extends Enum<StatusBarsConfig.BarMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
HITPOINTS
PRAYER
RUN_ENERGY
SPECIAL_ATTACK
WARMTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatusBarsConfig.BarMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusBarsConfig.BarMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final StatusBarsConfig.BarMode DISABLED
-
HITPOINTS
public static final StatusBarsConfig.BarMode HITPOINTS
-
PRAYER
public static final StatusBarsConfig.BarMode PRAYER
-
RUN_ENERGY
public static final StatusBarsConfig.BarMode RUN_ENERGY
-
SPECIAL_ATTACK
public static final StatusBarsConfig.BarMode SPECIAL_ATTACK
-
WARMTH
public static final StatusBarsConfig.BarMode WARMTH
-
-
Method Detail
-
values
public static StatusBarsConfig.BarMode[] 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 (StatusBarsConfig.BarMode c : StatusBarsConfig.BarMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatusBarsConfig.BarMode 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
-
-