com.frinika.project
Class FrinikaSynthRackDescriptor

java.lang.Object
  extended by com.frinika.project.MidiDeviceDescriptor
      extended by com.frinika.project.FrinikaSynthRackDescriptor
All Implemented Interfaces:
SoundBankNameHolder, MidiDeviceIconProvider, java.io.Serializable

public class FrinikaSynthRackDescriptor
extends MidiDeviceDescriptor
implements SoundBankNameHolder

Author:
Peter Johan Salomonsen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.frinika.project.MidiDeviceDescriptor
serializableMidiDevice
 
Constructor Summary
FrinikaSynthRackDescriptor(SynthWrapper midiDevice)
           
 
Method Summary
static void fixLaneProgramChange(ProjectContainer project, javax.sound.midi.MidiDevice midiDevice)
          Fix the lane program change event for older projects
 java.lang.String getSoundBankFileName()
          Get the filename for the loaded soundbank
protected  void installImp(ProjectContainer project)
          Called from install to actually do the work.
 void setSoundBankFileName(java.lang.String soundBankFileName)
          Set the filename for the loaded soundbank
 
Methods inherited from class com.frinika.project.MidiDeviceDescriptor
getIcon, getLargeIcon, getMidiDevice, getMidiDeviceName, getProjectName, getSerializableMidiDevice, install, setMidiDeviceName, setProjectName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrinikaSynthRackDescriptor

public FrinikaSynthRackDescriptor(SynthWrapper midiDevice)
Method Detail

getSoundBankFileName

public java.lang.String getSoundBankFileName()
Get the filename for the loaded soundbank

Specified by:
getSoundBankFileName in interface SoundBankNameHolder
Returns:

setSoundBankFileName

public void setSoundBankFileName(java.lang.String soundBankFileName)
Set the filename for the loaded soundbank

Specified by:
setSoundBankFileName in interface SoundBankNameHolder
Parameters:
soundBankFileName -

fixLaneProgramChange

public static void fixLaneProgramChange(ProjectContainer project,
                                        javax.sound.midi.MidiDevice midiDevice)
Fix the lane program change event for older projects


installImp

protected void installImp(ProjectContainer project)
Description copied from class: MidiDeviceDescriptor
Called from install to actually do the work. Typically you want to override this but make sure super.installImp is called.

Overrides:
installImp in class MidiDeviceDescriptor