|
abc4j API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabc.notation.RepeatedPartAbstract
abc.notation.MultiPartsDefinition
public class MultiPartsDefinition
This class describes the way a multipart music tune is defined.
| Constructor Summary | |
|---|---|
MultiPartsDefinition()
Creates a new multi part definition. |
|
MultiPartsDefinition(MultiPartsDefinition root)
Copy constructor |
|
| Method Summary | |
|---|---|
void |
addPart(RepeatedPartAbstract p)
Adds a new part to this multi part. |
java.lang.Object |
clone()
|
java.util.Vector |
getPartsAsRepeatedOnceVector()
|
Part[] |
toPartsArray()
Returns this multipart as an array of singles parts. |
| Methods inherited from class abc.notation.RepeatedPartAbstract |
|---|
getNumberOfRepeats, setNumberOfRepeats |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiPartsDefinition()
public MultiPartsDefinition(MultiPartsDefinition root)
| Method Detail |
|---|
public void addPart(RepeatedPartAbstract p)
p - The part that has to be added to the multi part. This part can
be a simple Part or another MultiPart (composite
definition).public Part[] toPartsArray()
toPartsArray in class RepeatedPartAbstractpublic java.util.Vector getPartsAsRepeatedOnceVector()
public java.lang.Object clone()
clone in class java.lang.Object
|
abc4j API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||