Package net.runelite.client.ui
Enum SkillColor
- java.lang.Object
-
- java.lang.Enum<SkillColor>
-
- net.runelite.client.ui.SkillColor
-
- All Implemented Interfaces:
Serializable
,Comparable<SkillColor>
public enum SkillColor extends Enum<SkillColor>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SkillColor
find(Skill skill)
Finds the corresponding SkillColor for a given Skill.Color
getColor()
static SkillColor
valueOf(String name)
Returns the enum constant of this type with the specified name.static SkillColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTACK
public static final SkillColor ATTACK
-
DEFENCE
public static final SkillColor DEFENCE
-
STRENGTH
public static final SkillColor STRENGTH
-
HITPOINTS
public static final SkillColor HITPOINTS
-
RANGED
public static final SkillColor RANGED
-
PRAYER
public static final SkillColor PRAYER
-
MAGIC
public static final SkillColor MAGIC
-
COOKING
public static final SkillColor COOKING
-
WOODCUTTING
public static final SkillColor WOODCUTTING
-
FLETCHING
public static final SkillColor FLETCHING
-
FISHING
public static final SkillColor FISHING
-
FIREMAKING
public static final SkillColor FIREMAKING
-
CRAFTING
public static final SkillColor CRAFTING
-
SMITHING
public static final SkillColor SMITHING
-
MINING
public static final SkillColor MINING
-
HERBLORE
public static final SkillColor HERBLORE
-
AGILITY
public static final SkillColor AGILITY
-
THIEVING
public static final SkillColor THIEVING
-
SLAYER
public static final SkillColor SLAYER
-
FARMING
public static final SkillColor FARMING
-
RUNECRAFT
public static final SkillColor RUNECRAFT
-
HUNTER
public static final SkillColor HUNTER
-
CONSTRUCTION
public static final SkillColor CONSTRUCTION
-
-
Method Detail
-
values
public static SkillColor[] 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 (SkillColor c : SkillColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SkillColor 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
-
find
public static SkillColor find(Skill skill)
Finds the corresponding SkillColor for a given Skill.
-
getColor
public Color getColor()
-
-