Enum TabSprites

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFileName()
      The file name for the resource to be loaded, relative to the implementing class
      int getSpriteId()
      An ID for a sprite.
      static TabSprites valueOf​(java.lang.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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • INCINERATOR

        public static final TabSprites INCINERATOR
      • 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
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - 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 interface SpriteOverride
        See Also:
        SpriteID
      • getFileName

        public java.lang.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 interface SpriteOverride