Enum Class Tab

java.lang.Object
java.lang.Enum<Tab>
dev.twilite.game.facade.Tab
All Implemented Interfaces:
TLI, Serializable, Comparable<Tab>, Constable

public enum Tab extends Enum<Tab> implements TLI
Top-level gameframe tabs.
  • Enum Constant Details

    • COMBAT

      public static final Tab COMBAT
      Combat options tab.
    • SKILLS

      public static final Tab SKILLS
      Skills tab.
    • QUEST_LIST

      public static final Tab QUEST_LIST
      Quest list tab.
    • INVENTORY

      public static final Tab INVENTORY
      Inventory tab.
    • WORN_EQUIPMENT

      public static final Tab WORN_EQUIPMENT
      Worn equipment tab.
    • PRAYERS

      public static final Tab PRAYERS
      Prayer tab.
    • MAGIC

      public static final Tab MAGIC
      Magic spellbook tab.
    • FRIENDS_LIST

      public static final Tab FRIENDS_LIST
      Friends list tab.
    • ACCOUNT_MANAGEMENT

      public static final Tab ACCOUNT_MANAGEMENT
      Account management tab.
    • CHAT_CHANNEL

      public static final Tab CHAT_CHANNEL
      Chat channel tab.
    • LOGOUT

      public static final Tab LOGOUT
    • SETTINGS

      public static final Tab SETTINGS
      Settings tab.
    • EMOTES

      public static final Tab EMOTES
      Emotes tab.
    • MUSIC_PLAYER

      public static final Tab MUSIC_PLAYER
      Music player tab.
  • Method Details

    • values

      public static Tab[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Tab valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • osrsId

      public int osrsId()
      Returns the component id for the fixed top-level layout.
      Specified by:
      osrsId in interface TLI
    • preEocId

      public int preEocId()
      Returns the component id for the resizable classic top-level layout.
      Specified by:
      preEocId in interface TLI
    • osrsStretchId

      public int osrsStretchId()
      Returns the component id for the stretched top-level layout.
      Specified by:
      osrsStretchId in interface TLI