Enum InventoryOrder
- java.lang.Object
-
- java.lang.Enum<InventoryOrder>
-
- com.kraken.api.query.container.inventory.InventoryOrder
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InventoryOrder>
public enum InventoryOrder extends java.lang.Enum<InventoryOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_RIGHT_TOP_LEFTReverse reading order: Last Item -> First Item.TOP_DOWN_LEFT_RIGHTVertical columns: Col 1 (Top->Bottom), Col 2 (Top->Bottom)...TOP_LEFT_BOTTOM_RIGHTStandard reading order: Row 1 (Left->Right), Row 2 (Left->Right)...TWO_ROW_LEFT_RIGHTDrops two rows at a time starting from left to right.ZIG_ZAGSnake/Zig-Zag pattern: Row 1 (Left->Right), Row 2 (Right->Left), Row 3 (Left->Right)...ZIG_ZAG_REVERSEReverse Snake/Zig-Zag pattern starting from the bottom right.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InventoryOrdervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InventoryOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT_BOTTOM_RIGHT
public static final InventoryOrder TOP_LEFT_BOTTOM_RIGHT
Standard reading order: Row 1 (Left->Right), Row 2 (Left->Right)...
-
BOTTOM_RIGHT_TOP_LEFT
public static final InventoryOrder BOTTOM_RIGHT_TOP_LEFT
Reverse reading order: Last Item -> First Item.
-
TWO_ROW_LEFT_RIGHT
public static final InventoryOrder TWO_ROW_LEFT_RIGHT
Drops two rows at a time starting from left to right. Sequence: (R0,C0)->(R1,C0) then (R0,C1)->(R1,C1)...
-
ZIG_ZAG
public static final InventoryOrder ZIG_ZAG
Snake/Zig-Zag pattern: Row 1 (Left->Right), Row 2 (Right->Left), Row 3 (Left->Right)... Reduces mouse travel distance significantly.
-
ZIG_ZAG_REVERSE
public static final InventoryOrder ZIG_ZAG_REVERSE
Reverse Snake/Zig-Zag pattern starting from the bottom right.
-
TOP_DOWN_LEFT_RIGHT
public static final InventoryOrder TOP_DOWN_LEFT_RIGHT
Vertical columns: Col 1 (Top->Bottom), Col 2 (Top->Bottom)...
-
-
Method Detail
-
values
public static InventoryOrder[] 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 (InventoryOrder c : InventoryOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InventoryOrder 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
-
-