Enum Game.Tab

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Game.Tab>
    Enclosing class:
    Game

    public static enum Game.Tab
    extends java.lang.Enum<Game.Tab>
    • Enum Constant Detail

      • COMBAT

        public static final Game.Tab COMBAT
      • SKILLS

        public static final Game.Tab SKILLS
      • QUEST

        public static final Game.Tab QUEST
      • INVENTORY

        public static final Game.Tab INVENTORY
      • EQUIPMENT

        public static final Game.Tab EQUIPMENT
      • PRAYER

        public static final Game.Tab PRAYER
      • MAGIC

        public static final Game.Tab MAGIC
      • CLAN_CHAT

        public static final Game.Tab CLAN_CHAT
      • FRIENDS

        public static final Game.Tab FRIENDS
      • ACCOUNT_MANAGEMENT

        public static final Game.Tab ACCOUNT_MANAGEMENT
      • LOGOUT

        public static final Game.Tab LOGOUT
      • SETTINGS

        public static final Game.Tab SETTINGS
      • EMOTES

        public static final Game.Tab EMOTES
      • MUSIC

        public static final Game.Tab MUSIC
    • Method Detail

      • values

        public static Game.Tab[] 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 (Game.Tab c : Game.Tab.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Game.Tab 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