public enum InventoryFilter extends java.lang.Enum<InventoryFilter>
Enum Constant and Description |
---|
ALL
Shows all items.
|
APPLIED
Shows applied items.
|
CURSED
Shows cursed or damned items.
|
LOCKED
Shows locked items.
|
MAGICAL
Shows magical items.
|
NON_MAGICAL
Shows non-magical items.
|
UNAPPLIED
Shows non-applied items.
|
UNIDENTIFIED
Shows unidentified items.
|
UNLOCKED
Shows unlocked items.
|
UNPAID
Shows unpaid items.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
matches(@NotNull CfItem item)
Returns whether an
CfItem matches this filter. |
static InventoryFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InventoryFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryFilter ALL
public static final InventoryFilter APPLIED
public static final InventoryFilter UNAPPLIED
public static final InventoryFilter UNPAID
public static final InventoryFilter CURSED
public static final InventoryFilter MAGICAL
public static final InventoryFilter NON_MAGICAL
public static final InventoryFilter LOCKED
public static final InventoryFilter UNLOCKED
public static final InventoryFilter UNIDENTIFIED
public static InventoryFilter[] values()
for (InventoryFilter c : InventoryFilter.values()) System.out.println(c);
public static InventoryFilter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null