Package com.softsynth.jmsl
Interface Editable
- All Known Subinterfaces:
MusicDevice
- All Known Implementing Classes:
JSynMusicDevice,JSynMusicDevice,MaxInstrument,MidiIO,MidiIO_JavaSound,MidiScoreInstrument,NullMusicDevice,SamplePlayingInstrument,SimpleSamplePlayingInstrument,SimpleSamplePlayingInstrumentWithAmplitudeMap,SimpleSamplePlayingInstrumentWithLoops,SupoveVox,TransposingSamplePlayingInstrument,TransposingSamplePlayingInstrumentWithAmplitudeMap,TransposingSampleSustainingInstrument
public interface Editable
General editable interface.
- Author:
- Nick Didkovsky, Email: nick@didkovsky.com, (c) 2003 Nick Didkovsky, all rights reserved.
-
Method Summary
Modifier and Type Method Description voidaddEditListener(EditListener listener)voidedit(java.awt.Frame f)Bring up a Dialog for editing, for examplebooleangetEditEnabled()voidremoveEditListener(EditListener listener)voidsetEditEnabled(boolean flag)Set a flag.
-
Method Details
-
edit
void edit(java.awt.Frame f)Bring up a Dialog for editing, for example -
addEditListener
-
removeEditListener
-
setEditEnabled
void setEditEnabled(boolean flag)Set a flag. For example you might setEditEnabled(false) after first edit(), or you might hard code values for some Editable class and so want to disable editing. -
getEditEnabled
boolean getEditEnabled()- Returns:
- flag
-