com.softsynth.jmsl
Interface Editable

All Known Subinterfaces:
MusicDevice
All Known Implementing Classes:
CelloSampleIns, CelloSampleSustainingIns, JSynMusicDevice, MaxInstrument, MidiIO, MidiIO_JavaSound, MidiIO_MidiPort, MidiIO_MidiPortLegacy, MidiIO_MidiShare, NullMusicDevice, SimpleSamplePlayingInstrument, SimpleSamplePlayingInstrumentWithAmplitudeMap, SimpleSamplePlayingInstrumentWithLoops, SupoveVox, TransposingSamplePlayingInstrument, TransposingSamplePlayingInstrumentWithAmplitudeMap, TransposingSampleSustainingInstrument, TransposingSampleSustainingInstrumentWithAmplitudeMap

public interface Editable

General editable interface.

Author:
Nick Didkovsky, Email: didkovn@mail.rockefeller.edu, (c) 2003 Nick Didkovsky, all rights reserved.

Method Summary
 void addEditListener(EditListener listener)
           
 void edit(java.awt.Frame f)
          Bring up a Dialog for editing, for example
 boolean getEditEnabled()
           
 void removeEditListener(EditListener listener)
           
 void setEditEnabled(boolean flag)
          Set a flag.
 

Method Detail

edit

void edit(java.awt.Frame f)
Bring up a Dialog for editing, for example


addEditListener

void addEditListener(EditListener listener)

removeEditListener

void removeEditListener(EditListener listener)

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