public static enum LXMidiEngine.Channel extends Enum<LXMidiEngine.Channel>
Enum Constant and Description |
---|
CH_1 |
CH_10 |
CH_11 |
CH_12 |
CH_13 |
CH_14 |
CH_15 |
CH_16 |
CH_2 |
CH_3 |
CH_4 |
CH_5 |
CH_6 |
CH_7 |
CH_8 |
CH_9 |
OMNI |
Modifier and Type | Method and Description |
---|---|
int |
getChannel() |
boolean |
matches(ShortMessage message) |
String |
toString() |
static LXMidiEngine.Channel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LXMidiEngine.Channel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LXMidiEngine.Channel CH_1
public static final LXMidiEngine.Channel CH_2
public static final LXMidiEngine.Channel CH_3
public static final LXMidiEngine.Channel CH_4
public static final LXMidiEngine.Channel CH_5
public static final LXMidiEngine.Channel CH_6
public static final LXMidiEngine.Channel CH_7
public static final LXMidiEngine.Channel CH_8
public static final LXMidiEngine.Channel CH_9
public static final LXMidiEngine.Channel CH_10
public static final LXMidiEngine.Channel CH_11
public static final LXMidiEngine.Channel CH_12
public static final LXMidiEngine.Channel CH_13
public static final LXMidiEngine.Channel CH_14
public static final LXMidiEngine.Channel CH_15
public static final LXMidiEngine.Channel CH_16
public static final LXMidiEngine.Channel OMNI
public static LXMidiEngine.Channel[] values()
for (LXMidiEngine.Channel c : LXMidiEngine.Channel.values()) System.out.println(c);
public static LXMidiEngine.Channel 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 nullpublic boolean matches(ShortMessage message)
public int getChannel()
public String toString()
toString
in class Enum<LXMidiEngine.Channel>
LX library by Mark C. Slee. © 2012-2020