public static enum DocumentFilter.Action extends Enum<DocumentFilter.Action>
Modifier and Type | Method and Description |
---|---|
static DocumentFilter.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentFilter.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentFilter.Action ADD
public static final DocumentFilter.Action REMOVE
public static final DocumentFilter.Action ALWAYSADD
public static DocumentFilter.Action[] values()
for (DocumentFilter.Action c : DocumentFilter.Action.values()) System.out.println(c);
public static DocumentFilter.Action 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 © 2019. All rights reserved.