Class SoundBranch

java.lang.Object
  extended byCollectableNode
      extended bySoundBranch
Direct Known Subclasses:
ScaleBranch

public class SoundBranch
extends CollectableNode


Field Summary
 CollectableNode children
           
 
Fields inherited from class CollectableNode
next
 
Constructor Summary
SoundBranch()
           
 
Method Summary
 void addChild(CollectableNode child)
          Method to add nodes to children
 Sound collect()
          Collect all the sound from our children, then collect from next.
 Sound collectAfter()
          Collect all the sound from our children, then collect from next.
 String toString()
          Method to return a string with informaiton about this branch
 
Methods inherited from class CollectableNode
add, getNext, insertAfter, last, playFromMeOn, remove, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

public CollectableNode children
Constructor Detail

SoundBranch

public SoundBranch()
Method Detail

toString

public String toString()
Method to return a string with informaiton about this branch


addChild

public void addChild(CollectableNode child)
Method to add nodes to children


collect

public Sound collect()
Collect all the sound from our children, then collect from next.

Specified by:
collect in class CollectableNode

collectAfter

public Sound collectAfter()
Collect all the sound from our children, then collect from next. If there's processing, do to Next, not to Children

Specified by:
collectAfter in class CollectableNode