Package net.runelite.api
Enum IconID
- java.lang.Object
-
- java.lang.Enum<IconID>
-
- net.runelite.api.IconID
-
- All Implemented Interfaces:
Serializable
,Comparable<IconID>
public enum IconID extends Enum<IconID>
Enum of all official icons that Jagex uses in chat.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOUNTY_HUNTER_EMBLEM
CHAIN_LINK
DMM_SKULL_1_KEYS
DMM_SKULL_2_KEYS
DMM_SKULL_3_KEYS
DMM_SKULL_4_KEYS
DMM_SKULL_5_KEYS
HARDCORE_IRONMAN
IRONMAN
JAGEX_MODERATOR
LEAGUE
NO_ENTRY
PLAYER_MODERATOR
SKULL
ULTIMATE_IRONMAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
String
toString()
static IconID
valueOf(String name)
Returns the enum constant of this type with the specified name.static IconID[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAYER_MODERATOR
public static final IconID PLAYER_MODERATOR
-
JAGEX_MODERATOR
public static final IconID JAGEX_MODERATOR
-
IRONMAN
public static final IconID IRONMAN
-
ULTIMATE_IRONMAN
public static final IconID ULTIMATE_IRONMAN
-
DMM_SKULL_5_KEYS
public static final IconID DMM_SKULL_5_KEYS
-
DMM_SKULL_4_KEYS
public static final IconID DMM_SKULL_4_KEYS
-
DMM_SKULL_3_KEYS
public static final IconID DMM_SKULL_3_KEYS
-
DMM_SKULL_2_KEYS
public static final IconID DMM_SKULL_2_KEYS
-
DMM_SKULL_1_KEYS
public static final IconID DMM_SKULL_1_KEYS
-
SKULL
public static final IconID SKULL
-
HARDCORE_IRONMAN
public static final IconID HARDCORE_IRONMAN
-
NO_ENTRY
public static final IconID NO_ENTRY
-
CHAIN_LINK
public static final IconID CHAIN_LINK
-
BOUNTY_HUNTER_EMBLEM
public static final IconID BOUNTY_HUNTER_EMBLEM
-
LEAGUE
public static final IconID LEAGUE
-
-
Method Detail
-
values
public static IconID[] 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 (IconID c : IconID.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IconID 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
-
getIndex
public int getIndex()
-
-