Enum TabSprites
- java.lang.Object
-
- java.lang.Enum<TabSprites>
-
- net.runelite.client.plugins.banktags.tabs.TabSprites
-
- All Implemented Interfaces:
Serializable
,Comparable<TabSprites>
,SpriteOverride
public enum TabSprites extends Enum<TabSprites> implements SpriteOverride
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOWN_ARROW
NEW_TAB
TAB_BACKGROUND
TAB_BACKGROUND_ACTIVE
UP_ARROW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileName()
The file name for the resource to be loaded, relative to the implementing classint
getSpriteId()
An ID for a sprite.static TabSprites
valueOf(String name)
Returns the enum constant of this type with the specified name.static TabSprites[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAB_BACKGROUND
public static final TabSprites TAB_BACKGROUND
-
TAB_BACKGROUND_ACTIVE
public static final TabSprites TAB_BACKGROUND_ACTIVE
-
UP_ARROW
public static final TabSprites UP_ARROW
-
DOWN_ARROW
public static final TabSprites DOWN_ARROW
-
NEW_TAB
public static final TabSprites NEW_TAB
-
-
Method Detail
-
values
public static TabSprites[] 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 (TabSprites c : TabSprites.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TabSprites 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
-
getSpriteId
public int getSpriteId()
Description copied from interface:SpriteOverride
An ID for a sprite. Negative numbers are used by RuneLite specific sprites- Specified by:
getSpriteId
in interfaceSpriteOverride
- See Also:
SpriteID
-
getFileName
public String getFileName()
Description copied from interface:SpriteOverride
The file name for the resource to be loaded, relative to the implementing class- Specified by:
getFileName
in interfaceSpriteOverride
-
-