net.beadsproject.beads.play
Class SongPart

java.lang.Object
  extended by net.beadsproject.beads.core.Bead
      extended by net.beadsproject.beads.core.UGen
          extended by net.beadsproject.beads.ugens.Gain
              extended by net.beadsproject.beads.play.SongPart
All Implemented Interfaces:
InterfaceElement
Direct Known Subclasses:
ExampleSongPart

public abstract class SongPart
extends Gain
implements InterfaceElement

The Class SongPart.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.beadsproject.beads.core.UGen
UGen.OutputInitializationRegime, UGen.OutputPauseRegime
 
Field Summary
protected  Clock clock
           
protected  Gain controllableGain
           
protected  Environment environment
           
protected  java.util.ArrayList<InterfaceElement> interfaceElements
          The params.
protected  javax.swing.JComponent panel
          The panel.
protected  int state
           
 
Fields inherited from class net.beadsproject.beads.core.UGen
bufferSize, bufIn, bufOut, context, ins, outputInitializationRegime, outputPauseRegime, outs
 
Constructor Summary
  SongPart(java.lang.String name, Environment environment)
           
protected SongPart(java.lang.String name, Environment environment, int inouts)
          Instantiates a new song part.
 
Method Summary
 void enter()
           
 void exit()
           
 Clock getClock()
           
 java.awt.Color getColor()
           
 javax.swing.JComponent getComponent()
          Gets the panel.
 void setClock(Clock clock)
           
 void setColor(java.awt.Color color)
           
 void setState(int state)
           
 java.lang.String toString()
          Returns a String specifying the Bead's class and it's name.
 
Methods inherited from class net.beadsproject.beads.ugens.Gain
calculateBuffer, getGainEnvelope, setGainEnvelope
 
Methods inherited from class net.beadsproject.beads.core.UGen
addDependent, addInput, addInput, clearDependents, clearInputConnections, containsInput, crossfadeInput, getConnectedInputs, getContext, getEnvelopes, getIns, getNumberOfConnectedUGens, getOuts, getTimeTakenLastUpdate, getValue, getValue, initializeOuts, isTimerMode, isUpdated, main, noInputs, pause, printInBuffers, printInputList, printOutBuffers, removeAllConnections, removeDependent, setInputProxy, setOutputProxy, setOutsToPause, setProxy, setTimerMode, setValue, update, zeroIns, zeroOuts
 
Methods inherited from class net.beadsproject.beads.core.Bead
getKillListener, getName, isDeleted, isPaused, kill, message, messageReceived, setKillListener, setName, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

interfaceElements

protected java.util.ArrayList<InterfaceElement> interfaceElements
The params.


panel

protected javax.swing.JComponent panel
The panel.


state

protected int state

clock

protected Clock clock

controllableGain

protected Gain controllableGain

environment

protected Environment environment
Constructor Detail

SongPart

public SongPart(java.lang.String name,
                Environment environment)

SongPart

protected SongPart(java.lang.String name,
                   Environment environment,
                   int inouts)
Instantiates a new song part.

Parameters:
environment - the environment
inouts - the inouts
Method Detail

setState

public void setState(int state)

getComponent

public javax.swing.JComponent getComponent()
Gets the panel.

Specified by:
getComponent in interface InterfaceElement
Returns:
the panel

enter

public void enter()

exit

public void exit()

toString

public final java.lang.String toString()
Description copied from class: Bead
Returns a String specifying the Bead's class and it's name.

Overrides:
toString in class Bead
Returns:
String describing the Bead.

getClock

public Clock getClock()

setClock

public void setClock(Clock clock)

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color color)