public enum ListenerKind extends Enum<ListenerKind>
Listener definition.
This defines the signature to which each method in the target interface must
conform.ListenerInterface.value()| Enum Constant and Description |
|---|
NORMAL
|
TAGGING
A tagging listener is an interface which extends
Listener and does not contain any
methods but exists as super interface for other listeners. |
| Modifier and Type | Method and Description |
|---|---|
static ListenerKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerKind NORMAL
public static final ListenerKind TAGGING
Listener and does not contain any
methods but exists as super interface for other listeners.public static ListenerKind[] values()
for (ListenerKind c : ListenerKind.values()) System.out.println(c);
public static ListenerKind 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 © 2014–2015. All rights reserved.