|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttactu5.Cluster
public class Cluster
Cluster class allows to create chord instances with Tactu5. It's possible to pass an array of Note to the constructor or to add Note objects afterwards. This class automatically clones the Note objects passed.
Constructor Summary | |
---|---|
Cluster()
|
|
Cluster(Note[] inseq)
|
Method Summary | |
---|---|
void |
addNote(Note inote)
Add a note to the cluster. |
Object |
clone()
|
int |
getClusterNumber()
Get the elements number of the cluster. |
int |
getContainerNum()
|
float |
getDuration()
Get cluster duration in milliseconds. |
Note |
getNote(int n)
Return a Note, an int parameter defines its position. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cluster()
public Cluster(Note[] inseq)
Method Detail |
---|
public Object clone()
clone
in class Object
public void addNote(Note inote)
addNote
in interface T5Containers
public int getClusterNumber()
public int getContainerNum()
getContainerNum
in interface T5Containers
public Note getNote(int n)
getNote
in interface T5Containers
public float getDuration()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |