public enum MessageDispatchPhase extends Enum<MessageDispatchPhase>
Enum Constant and Description |
---|
BUBBLE
The message will be dispatched up through the parent chain.
|
TUNNEL
The message will be dispatched down through all descendants.
|
Modifier and Type | Method and Description |
---|---|
static MessageDispatchPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageDispatchPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDispatchPhase BUBBLE
public static final MessageDispatchPhase TUNNEL
public static MessageDispatchPhase[] values()
for (MessageDispatchPhase c : MessageDispatchPhase.values()) System.out.println(c);
public static MessageDispatchPhase 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 null