private class KeySignature.KeyNote
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
accidental
Whether or not the note is accidental: -1 = flat, 0 = natural, +1 = sharp
|
char |
letter
The letter of the note
|
| Constructor and Description |
|---|
KeyNote(char letter,
int accidental)
Constructor for the class
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public char letter
public int accidental