|
abc4j API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabc.notation.Tuplet
public class Tuplet
A class to define tuplets.
| Constructor Summary | |
|---|---|
Tuplet(java.util.Vector notes,
int totalRelativeLength,
short defaultNoteLength)
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. |
short |
getTotalDuration()
Returns the total duration of this tuplet. |
int |
getTotalRelativeLength()
Deprecated. use totalDuration() instead. Reference to relative length should be avoided in the API bacause this is only related to the "abc world". |
| 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,
short defaultNoteLength)
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()
getTotalDuration()public short getTotalDuration()
public java.util.Vector getNotesAsVector()
|
abc4j API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||