public static enum OutputModel.EventAction extends Enum<OutputModel.EventAction>
The action with the highest priority takes precedence.
Enum Constant and Description |
---|
MUTE
Returned if the event should be muted.
|
PLAY
Return if the event should be played.
|
UNHANDLED
Returned if it doesn't matter if the event is muted.
|
Modifier and Type | Method and Description |
---|---|
static OutputModel.EventAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputModel.EventAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputModel.EventAction PLAY
public static final OutputModel.EventAction MUTE
public static final OutputModel.EventAction UNHANDLED
An event that is not handled by all handlers will be played.
Event handlers are allowed to change the MidiMessage before it is sent.
public static OutputModel.EventAction[] values()
for (OutputModel.EventAction c : OutputModel.EventAction.values()) System.out.println(c);
public static OutputModel.EventAction 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 © 2015 Kreatious LLC. All rights reserved.