|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CollectableNode
public abstract class CollectableNode
Node in a sound tree.
Constructor Summary | |
---|---|
CollectableNode()
No argument constructor that sets next to null |
Method Summary | |
---|---|
void |
add(CollectableNode node)
Add the input node after the last node in this list. |
abstract Sound |
collect()
Collect all the sounds from me on |
abstract Sound |
collectAfter()
Collect all the sounds from me on, but if there's processing, do it after. |
CollectableNode |
getNext()
Method to get the next node |
void |
insertAfter(CollectableNode node)
Insert the passed node after this node. |
CollectableNode |
last()
Return the last node in the list |
void |
playFromMeOn()
Play the list of sound elements after me |
void |
remove(CollectableNode node)
Method to remove a node from the list, fixing links appropriately. |
void |
setNext(CollectableNode nextOne)
Method to set the next node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectableNode()
Method Detail |
---|
public void setNext(CollectableNode nextOne)
nextOne
- the next element in listpublic CollectableNode getNext()
public void playFromMeOn()
public abstract Sound collect()
public abstract Sound collectAfter()
public void remove(CollectableNode node)
node
- the node to remove from the list.public void insertAfter(CollectableNode node)
node
- the node to insert after this.public CollectableNode last()
public void add(CollectableNode node)
node
- the node to insert after this.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |