Enum OptionsTab.Menu
- java.lang.Object
-
- java.lang.Enum<OptionsTab.Menu>
-
- com.runemate.game.api.osrs.local.hud.interfaces.OptionsTab.Menu
-
- All Implemented Interfaces:
Openable
,java.io.Serializable
,java.lang.Comparable<OptionsTab.Menu>
- Enclosing class:
- OptionsTab
public static enum OptionsTab.Menu extends java.lang.Enum<OptionsTab.Menu> implements Openable
The different tabs/menus inside the options menu
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOpen()
boolean
open()
Opens the tab/category, and opens the options tab if it is not already openstatic OptionsTab.Menu
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OptionsTab.Menu[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTROLS
public static final OptionsTab.Menu CONTROLS
-
AUDIO
public static final OptionsTab.Menu AUDIO
-
DISPLAY
public static final OptionsTab.Menu DISPLAY
-
-
Method Detail
-
values
public static OptionsTab.Menu[] 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 (OptionsTab.Menu c : OptionsTab.Menu.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionsTab.Menu 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 namejava.lang.NullPointerException
- if the argument is null
-
open
public boolean open()
Opens the tab/category, and opens the options tab if it is not already open
-
-