Enum Inventory.Format
- java.lang.Object
-
- java.lang.Enum<Inventory.Format>
-
- org.rspeer.game.adapter.component.inventory.Inventory.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<Inventory.Format>
- Enclosing class:
- Inventory
public static enum Inventory.Format extends Enum<Inventory.Format>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD_SPLIT_INDIVIDUAL
CHILD_SPLIT_SUBCOMPONENTS
DYNAMIC
INDIVIDUAL
SUBCOMPONENTS_OF
TABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
parse(RSInventory inv, boolean extractFromProvider, ComponentQueryResults results, ItemQueryResults items)
static Inventory.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static Inventory.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final Inventory.Format TABLE
-
SUBCOMPONENTS_OF
public static final Inventory.Format SUBCOMPONENTS_OF
-
INDIVIDUAL
public static final Inventory.Format INDIVIDUAL
-
DYNAMIC
public static final Inventory.Format DYNAMIC
-
CHILD_SPLIT_SUBCOMPONENTS
public static final Inventory.Format CHILD_SPLIT_SUBCOMPONENTS
-
CHILD_SPLIT_INDIVIDUAL
public static final Inventory.Format CHILD_SPLIT_INDIVIDUAL
-
-
Method Detail
-
values
public static Inventory.Format[] 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 (Inventory.Format c : Inventory.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Inventory.Format valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parse
public void parse(RSInventory inv, boolean extractFromProvider, ComponentQueryResults results, ItemQueryResults items)
-
-