|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPMeasure
This class describes a measure.
Field Summary | |
private int |
_denominator
Denominator of the measure |
private int |
_number
The number of the measure |
private int |
_numberOfAlternateEnding
The number of alternate endings of the measure. |
private int |
_numberOfRepetitions
The number of repetitions of the measure. |
private int |
_numerator
Numerator of the measure |
private GPKey |
_tonality
The tonality of this measure. |
boolean |
hasDoubleBar
Presence of a double bar. |
GPMarker |
marker
The marker possibly associated with this measure. |
boolean |
repeatStart
Presence of a beginning of repeat sign. |
Constructor Summary | |
GPMeasure()
Creates a new measure |
|
GPMeasure(GPMeasure original)
Creates a new Measure with the same numerator/denominator and tonality |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if the given object is equals to this GPMeasure object. |
int |
getDenominator()
Returns this measure's denominator. |
int |
getNumber()
Returns this measure's number. |
int |
getNumberOfAlternateEnding()
Returns this measure's number of alternate endings. |
int |
getNumberOfRepetitions()
Returns this measure's number of repetitions. |
int |
getNumerator()
Returns this measure's numerator. |
GPKey |
getTonality()
Returns this measure's tonality. |
void |
setDenominator(int denominator)
Sets this measure's denominator. |
void |
setNumber(int number)
Sets this measure's number. |
void |
setNumberOfAlternateEnding(int numberOfAlternateEnding)
Sets this measure's number of alternate endings. |
void |
setNumberOfRepetitions(int numberOfRepetitions)
Sets this measure's number of repetitions. |
void |
setNumerator(int numerator)
Sets this measure's numerator. |
void |
setTonality(GPKey tonality)
Sets this measure's tonality. |
java.lang.String |
toString()
Returns a string representation of this Measure. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public boolean hasDoubleBar
public GPMarker marker
public boolean repeatStart
private int _denominator
private int _number
private int _numberOfAlternateEnding
private int _numberOfRepetitions
private int _numerator
private GPKey _tonality
Constructor Detail |
public GPMeasure()
public GPMeasure(GPMeasure original)
Method Detail |
public boolean equals(java.lang.Object o)
Object.equals(java.lang.Object)
public int getDenominator()
public int getNumber()
public int getNumberOfAlternateEnding()
public int getNumberOfRepetitions()
public int getNumerator()
public GPKey getTonality()
public void setDenominator(int denominator)
denominator
- the denominator to set.public void setNumber(int number)
number
- the number to set.public void setNumberOfAlternateEnding(int numberOfAlternateEnding)
numberOfAlternateEnding
- the number of alternate endings to set.public void setNumberOfRepetitions(int numberOfRepetitions)
numberOfRepetitions
- the number of repetitions to set.public void setNumerator(int numerator)
numerator
- the numerator to set.public void setTonality(GPKey tonality)
tonality
- The tonality to set.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |