|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSoundTreeExample
public class SoundTreeExample
Class to test the sound tree
| Constructor Summary | |
|---|---|
SoundTreeExample()
Constructor to set up the example |
|
| Method Summary | |
|---|---|
SoundBranch |
getRoot()
Method to get the root of the tree |
static void |
main(String[] args)
Method to test the tree |
void |
play()
Method to play the tree |
void |
playAfter()
Method to play after the current node |
void |
playScaled(double factor)
Method to play the tree but change the scale factor |
void |
playSwapped()
Method to play with the next nodes before the child nodes |
void |
setUp2()
Method to set up the tree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoundTreeExample()
| Method Detail |
|---|
public SoundBranch getRoot()
public void setUp2()
public void play()
public void playScaled(double factor)
factor - the new factor to usepublic void playAfter()
public void playSwapped()
public static void main(String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||