public enum MessageDispatchMode extends Enum<MessageDispatchMode>
Enum Constant and Description |
---|
BUBBLE
Message is dispatched to the direct target and its ancestors.
|
BUBBLE_AND_TUNNEL
Message is dispatched to the direct target, its ancestors and all its descendants.
|
TUNNEL
Message is dispatched to the direct target all its descendants.
|
Modifier and Type | Method and Description |
---|---|
static MessageDispatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageDispatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDispatchMode BUBBLE
public static final MessageDispatchMode TUNNEL
public static final MessageDispatchMode BUBBLE_AND_TUNNEL
public static MessageDispatchMode[] values()
for (MessageDispatchMode c : MessageDispatchMode.values()) System.out.println(c);
public static MessageDispatchMode 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