|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabc.notation.Tuplet
A class for defining tuplets in a score.
Constructor Summary | |
Tuplet(java.util.Vector notes,
int totalRelativeLength)
Creates a new tuplet composed of the specified notes. |
Method Summary | |
java.util.Vector |
getNotesAsVector()
Returns a new vector containing all notes of this multi note. |
int |
getTotalRelativeLength()
Returns the total relative length of this tuplet. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Tuplet(java.util.Vector notes, int totalRelativeLength)
notes
- The NoteAbstract obejcts composing this tuplet,
encapsulated inside a Vector.totalRelativeLength
- The total relative length of this tuplet
multiplied by the delfault relative length gives the total absolute length
of this tuplet.Method Detail |
public int getTotalRelativeLength()
public java.util.Vector getNotesAsVector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |