|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.view.PVPanelAdapter com.softsynth.jmsl.view.PatchEditorPanel
public class PatchEditorPanel
Editor Panel for patches. Connect signal sources to signal processors for example. This class only deals in Namable (really Instruments) and their associated orchestraInstrumentIndex. Input is a Vector of OrchPatch which specifies what orchestraInstrumentIndexes (outputs/signalsources) are patched to other orchestraInstrumentIndexes (signal processors). Output is the modified Vector.
Constructor Summary | |
---|---|
PatchEditorPanel()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
|
void |
addFrom(Namable obj,
int fromIndex)
add a object/index pair to the list of signal sources |
void |
addPatchEditorListener(PatchEditorListener listener)
|
void |
addTo(Namable obj,
int toIndex)
add a object/index pair to the list of signal processors |
void |
build()
This must be called after setPatches() and some calls to addFrom() and addTo() |
java.lang.String |
getPatchName()
|
void |
itemStateChanged(java.awt.event.ItemEvent e)
|
static void |
main(java.lang.String[] args)
|
void |
removePatchEditorListener(PatchEditorListener listener)
|
void |
setFromLabelText(java.lang.String s)
|
void |
setPatches(java.util.Vector patches)
|
void |
setPatchName(java.lang.String s)
Set this depending on the kind of Patches you are editing, for example "orchpatch" or "lurkerpatch" |
void |
setToLabelText(java.lang.String s)
|
Methods inherited from class com.softsynth.jmsl.view.PVPanelAdapter |
---|
add, add, addKeyListener, equals, getBackground, getBounds, getComponent, getFont, getParent, hashCode, isEnabled, remove, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setLayout, setLocation, setVisible, toString, validate |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PatchEditorPanel()
Method Detail |
---|
public void addPatchEditorListener(PatchEditorListener listener)
public void removePatchEditorListener(PatchEditorListener listener)
public void setPatches(java.util.Vector patches)
public void addFrom(Namable obj, int fromIndex)
public void addTo(Namable obj, int toIndex)
public void setFromLabelText(java.lang.String s)
public void setToLabelText(java.lang.String s)
public void build()
public void setPatchName(java.lang.String s)
public java.lang.String getPatchName()
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed
in interface java.awt.event.ActionListener
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |