|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPDynamic
This class describes a note's dynamic.
Field Summary | |
private int |
_type
A note's dynamic is represented by an integer. |
private static GPDynamic[] |
dynamics
The different dynamics. |
private static java.lang.String[] |
dynamicsNames
The different dynamics's names. |
static GPDynamic |
F
forte |
static GPDynamic |
FF
fortissimo |
static GPDynamic |
FFF
forte fortissimo |
static GPDynamic |
INVALID
An invalid dynamic value. |
static GPDynamic |
MF
mezzo forte |
static GPDynamic |
MP
mezzo piano |
static GPDynamic |
P
piano |
static GPDynamic |
PP
pianissimo |
static GPDynamic |
PPP
piano pianissimo |
Constructor Summary | |
private |
GPDynamic(int type)
Creates a new GPDynamic whose type is type . |
Method Summary | |
int |
getIndex()
Returns an index that represents the dynamic 0 = INVALID 1 = PPP 2 = PP and so on. |
java.lang.String |
toString()
Returns a string representation of this Dynamic. |
static GPDynamic |
valueOf(int type)
Returns the GPDynamic associated with the value type . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int _type
public static final GPDynamic INVALID
public static final GPDynamic PPP
public static final GPDynamic PP
public static final GPDynamic P
public static final GPDynamic MP
public static final GPDynamic MF
public static final GPDynamic F
public static final GPDynamic FF
public static final GPDynamic FFF
private static final GPDynamic[] dynamics
private static final java.lang.String[] dynamicsNames
Constructor Detail |
private GPDynamic(int type)
type
.
type
- this dynamic's integer value.Method Detail |
public int getIndex()
public java.lang.String toString()
public static GPDynamic valueOf(int type)
type
.
type
- the dynamic integer value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |