Enum GrandExchange.Screen
- java.lang.Object
-
- java.lang.Enum<GrandExchange.Screen>
-
- com.osrsbots.orb.api.interactables.widgets.exchange.GrandExchange.Screen
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GrandExchange.Screen>
- Enclosing class:
- GrandExchange
public static enum GrandExchange.Screen extends java.lang.Enum<GrandExchange.Screen>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUY_OFFERCLOSEDCREATE_BUY_OFFERCREATE_SELL_OFFEROVERVIEWSELL_OFFER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GrandExchange.ScreenvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GrandExchange.Screen[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSED
public static final GrandExchange.Screen CLOSED
-
OVERVIEW
public static final GrandExchange.Screen OVERVIEW
-
BUY_OFFER
public static final GrandExchange.Screen BUY_OFFER
-
SELL_OFFER
public static final GrandExchange.Screen SELL_OFFER
-
CREATE_BUY_OFFER
public static final GrandExchange.Screen CREATE_BUY_OFFER
-
CREATE_SELL_OFFER
public static final GrandExchange.Screen CREATE_SELL_OFFER
-
-
Method Detail
-
values
public static GrandExchange.Screen[] 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 (GrandExchange.Screen c : GrandExchange.Screen.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GrandExchange.Screen 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
-
-