|
DixShtix | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.dixshtix.midi.BinaryData
|
+--com.dixshtix.midi.KeySignature
Key Signature is good to represent standard major and minor keys.
Key Signature is unique; a signed byte of number of sharps (negative for flats) and is_minor is an unsigned byte with the value 0 indicating a major key, or 1 indicating a minor key.
EventStatus.kmbKeySignature,
EventType.kKeySignature| Fields inherited from class com.dixshtix.midi.BinaryData |
data, maxPrintLength |
| Constructor Summary | |
KeySignature(byte num_sharps,
byte is_minor)
Initializer. |
|
| Method Summary | |
java.lang.String |
toString()
Produce a short, human-readable string. |
| Methods inherited from class com.dixshtix.midi.BinaryData |
getData, getData, getLength, getMaxPrintLength, hashCode, setMaxPrintLength, simpleClass |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public KeySignature(byte num_sharps,
byte is_minor)
num_sharps - If positive, the number of sharps; if
negative, flats.is_minor - If 0, Major key; if 1, Minor key.| Method Detail |
public java.lang.String toString()
toString in class BinaryDatacom.dixshtix.midi.BinaryDataBinaryData.maxPrintLength
|
DixShtix | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||