DixShtix

com.dixshtix.midi
Class Patch

java.lang.Object
  |
  +--java.lang.Number
        |
        +--com.dixshtix.midi.MidiNumber
              |
              +--com.dixshtix.midi.Patch
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Patch
extends MidiNumber

Also called a Program

Version:
0.1
Author:
Richard C. Penner II
See Also:
Serialized Form

Field Summary
(package private) static ReverseLookup rev_names
           
 
Fields inherited from class com.dixshtix.midi.MidiNumber
number
 
Fields inherited from class java.lang.Number
serialVersionUID
 
Constructor Summary
Patch(int num)
           
Patch(java.lang.String name)
           
 
Method Summary
static int getNumberNames()
           
(package private) static int lookupByName(java.lang.String name)
           
 java.lang.String toString()
          Produce a short, human-readable string.
 
Methods inherited from class com.dixshtix.midi.MidiNumber
byteValue, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

rev_names

static ReverseLookup rev_names
Constructor Detail

Patch

public Patch(int num)

Patch

public Patch(java.lang.String name)
Method Detail

lookupByName

static int lookupByName(java.lang.String name)

getNumberNames

public static int getNumberNames()

toString

public java.lang.String toString()
Produce a short, human-readable string.
Overrides:
toString in class MidiNumber

DixShtix