Serializable
, Comparable<DragType>
public enum DragType extends Enum<DragType>
Enum Constant | Description |
---|---|
EVEN |
The cursor is split evenly across all selected slots, not to exceed the
Material's max stack size, with the remainder going to the cursor.
|
SINGLE |
One item from the cursor is placed in each selected slot.
|
Modifier and Type | Method | Description |
---|---|---|
static DragType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DragType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragType SINGLE
public static final DragType EVEN
public static DragType[] values()
for (DragType c : DragType.values()) System.out.println(c);
public static DragType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.