net.beadsproject.beads.play
Class SongPart
java.lang.Object
net.beadsproject.beads.core.Bead
net.beadsproject.beads.core.UGen
net.beadsproject.beads.ugens.Gain
net.beadsproject.beads.play.SongPart
- All Implemented Interfaces:
- InterfaceElement
- Direct Known Subclasses:
- ExampleSongPart
public abstract class SongPart
- extends Gain
- implements InterfaceElement
The Class SongPart.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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 environmentinouts
- the inouts
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)