Enum CustomCursor
- java.lang.Object
-
- java.lang.Enum<CustomCursor>
-
- net.runelite.client.plugins.customcursor.CustomCursor
-
- All Implemented Interfaces:
Serializable
,Comparable<CustomCursor>
public enum CustomCursor extends Enum<CustomCursor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM_IMAGE
DRAGON_DAGGER
DRAGON_DAGGER_POISON
DRAGON_SCIMITAR
EQUIPPED_WEAPON
RS3_GOLD
RS3_SILVER
TROUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
getCursorImage()
String
getName()
String
toString()
static CustomCursor
valueOf(String name)
Returns the enum constant of this type with the specified name.static CustomCursor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RS3_GOLD
public static final CustomCursor RS3_GOLD
-
RS3_SILVER
public static final CustomCursor RS3_SILVER
-
DRAGON_DAGGER
public static final CustomCursor DRAGON_DAGGER
-
DRAGON_DAGGER_POISON
public static final CustomCursor DRAGON_DAGGER_POISON
-
TROUT
public static final CustomCursor TROUT
-
DRAGON_SCIMITAR
public static final CustomCursor DRAGON_SCIMITAR
-
EQUIPPED_WEAPON
public static final CustomCursor EQUIPPED_WEAPON
-
CUSTOM_IMAGE
public static final CustomCursor CUSTOM_IMAGE
-
-
Method Detail
-
values
public static CustomCursor[] 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 (CustomCursor c : CustomCursor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomCursor 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<CustomCursor>
-
getName
public String getName()
-
getCursorImage
@Nullable public BufferedImage getCursorImage()
-
-