|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ritornello.core.performance.Measure
Constructor Summary | |
Measure(int number)
|
Method Summary | |
void |
addElement(java.lang.Object object)
|
java.io.OutputStream |
exportTo()
|
java.util.Iterator |
getElements()
|
KeySignature |
getKeySignature()
Returns the key data. |
int |
getNumber()
Returns the measure number (e.g. the first measure of a staff has NUMBER = 1). |
Staff |
getStaff()
Returns the actual staff. |
TimeSignature |
getTimeSignature()
Returns the time data. |
void |
importFrom(java.io.InputStream in)
|
void |
removeAllElements()
|
boolean |
removeElement(java.lang.Object object)
|
void |
setKeySignature(KeySignature keySignature)
Sets the key data. |
void |
setNumber(int number)
Sets the number information. |
void |
setStaff(Staff staff)
Sets the owner staff. |
void |
setTimeSignature(TimeSignature timeSignature)
Sets the time data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Measure(int number)
number
- - The measure number.Method Detail |
public TimeSignature getTimeSignature()
public KeySignature getKeySignature()
public int getNumber()
public Staff getStaff()
public void setNumber(int number)
number
- - The measure's number.public void removeAllElements()
removeAllElements
in interface Collection
public boolean removeElement(java.lang.Object object)
removeElement
in interface Collection
object
-
public void setStaff(Staff staff)
staff
- - The owner staff.public void addElement(java.lang.Object object) throws IncompatibleElementException, ValidationException
addElement
in interface Collection
object
-
IncompatibleElementException
ValidationException
public java.util.Iterator getElements()
getElements
in interface Collection
public void importFrom(java.io.InputStream in)
importFrom
in interface Serializable
in
- public java.io.OutputStream exportTo()
exportTo
in interface Serializable
public void setTimeSignature(TimeSignature timeSignature)
timeSignature
- The time signature data.public void setKeySignature(KeySignature keySignature)
keySignature
- The key signature data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |