Previous Next Package
Class MIDICompose.MetaEvent
java.lang.Object
|
+----MIDICompose.MIDIObject
|
+----MIDICompose.MIDIEvent
|
+----MIDICompose.MetaEvent
- public abstract class MetaEvent
- extends MIDIEvent
-
MetaEvent(int, int)
- Creates new MetaEvent with deltaTime and type.
-
dataValueAt(int)
- Returns value at index.
-
setDataValueAt(int, int)
- Sets (or creates) value at index.
-
setType(int)
- Sets MetaEvent-type.
-
type()
- Returns current MetaEvent-type.
MetaEvent
protected MetaEvent(int deltaTime,
int type)
- Creates a new MetaEvent.
- Parameters:
- deltaTime - any int (>= 0).
- type - any int between 0 and 255 (=0xff).
type
protected int type()
- Returns the current type (dataValue at index = 0).
- Returns:
- an int between 0 and 255 representing the MetaEvents-type.
setType
protected void setType(int type)
- Sets the type (dataValue at index = 0).
- Parameters:
- any int between 0 and 255 representing a MetaEvent-type.
dataValueAt
protected int dataValueAt(int index)
- Returns dataValue at index.
- Parameters:
- index - the position of the value. any int (> 0 or 0 for type).
- Returns:
- the value at position index. an int between 0 and 255.
setDataValueAt
protected void setDataValueAt(int value,
int index)
- Sets dataValue at index.
- Parameters:
- value - any int between 0 and 255.
- index - the position of the value. any int (> 0 or 0 for type).
Previous Next Package