|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPKey
This class describes the tonality of a measure.
Field Summary | |
private static java.lang.String[][] |
_keyNames
The keys' names |
private static GPKey[][] |
_keys
The keys |
private int |
_mode
The measure tonality mode: major or minor. |
private int |
_type
A measure tonality is represented by an integer. |
static GPKey |
A
A |
static GPKey |
A_FLAT
A Flat |
static GPKey |
A_FLAT_MINOR
A flat minor |
static GPKey |
A_MINOR
A minor |
static GPKey |
A_SHARP_MINOR
A sharp minor |
static GPKey |
B
B |
static GPKey |
B_FLAT
B Flat |
static GPKey |
B_FLAT_MINOR
B flat minor |
static GPKey |
B_MINOR
B minor |
static GPKey |
C
C |
static GPKey |
C_FLAT
C Flat |
static GPKey |
C_MINOR
C minor |
static GPKey |
C_SHARP
C sharp |
static GPKey |
C_SHARP_MINOR
C sharp minor |
static GPKey |
D
D |
static GPKey |
D_FLAT
D Flat |
static GPKey |
D_MINOR
D minor |
static GPKey |
D_SHARP_MINOR
D sharp minor |
static GPKey |
E
E |
static GPKey |
E_FLAT
E Flat |
static GPKey |
E_FLAT_MINOR
E flat minor |
static GPKey |
E_MINOR
E minor |
static GPKey |
F
F |
static GPKey |
F_MINOR
F minor |
static GPKey |
F_SHARP
F sharp |
static GPKey |
F_SHARP_MINOR
F sharp minor |
static GPKey |
G
G |
static GPKey |
G_FLAT
G Flat |
static GPKey |
G_MINOR
G minor |
static GPKey |
G_SHARP_MINOR
G sharp minor |
Constructor Summary | |
private |
GPKey(int mode,
int type)
Creates a new Key whose type is type . |
Method Summary | |
java.lang.String |
toString()
Returns a string representation of this Key. |
static GPKey |
valueOf(int type)
Returns the GPKey associated with the value type. |
static GPKey |
valueOf(int mode,
int type)
Returns the GPKey associated with the values mode and type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int _mode
private int _type
public static final GPKey C_FLAT
public static final GPKey G_FLAT
public static final GPKey D_FLAT
public static final GPKey A_FLAT
public static final GPKey E_FLAT
public static final GPKey B_FLAT
public static final GPKey F
public static final GPKey C
public static final GPKey G
public static final GPKey D
public static final GPKey A
public static final GPKey E
public static final GPKey B
public static final GPKey F_SHARP
public static final GPKey C_SHARP
public static final GPKey A_FLAT_MINOR
public static final GPKey E_FLAT_MINOR
public static final GPKey B_FLAT_MINOR
public static final GPKey F_MINOR
public static final GPKey C_MINOR
public static final GPKey G_MINOR
public static final GPKey D_MINOR
public static final GPKey A_MINOR
public static final GPKey E_MINOR
public static final GPKey B_MINOR
public static final GPKey F_SHARP_MINOR
public static final GPKey C_SHARP_MINOR
public static final GPKey G_SHARP_MINOR
public static final GPKey D_SHARP_MINOR
public static final GPKey A_SHARP_MINOR
private static GPKey[][] _keys
private static java.lang.String[][] _keyNames
Constructor Detail |
private GPKey(int mode, int type)
type
.
type
- Method Detail |
public java.lang.String toString()
public static GPKey valueOf(int type)
type
- the key's type integer value.
public static GPKey valueOf(int mode, int type)
mode
- the key's mode integer value.type
- the key's type integer value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |