/[svn]/jsampler/trunk/src/org/jsampler/view/fantasia/NormalChannelOptionsView.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/fantasia/NormalChannelOptionsView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1784 by iliev, Sat May 31 23:04:01 2008 UTC revision 1785 by iliev, Tue Oct 7 00:07:14 2008 UTC
# Line 58  import org.jsampler.event.SamplerChannel Line 58  import org.jsampler.event.SamplerChannel
58  import org.jsampler.event.SamplerEvent;  import org.jsampler.event.SamplerEvent;
59  import org.jsampler.event.SamplerListener;  import org.jsampler.event.SamplerListener;
60    
61    import org.jsampler.view.fantasia.basic.*;
62  import org.jsampler.view.std.JSChannelOutputRoutingDlg;  import org.jsampler.view.std.JSChannelOutputRoutingDlg;
63    
64  import org.linuxsampler.lscp.AudioOutputDevice;  import org.linuxsampler.lscp.AudioOutputDevice;
# Line 575  public class NormalChannelOptionsView ex Line 576  public class NormalChannelOptionsView ex
576                   * @param e A <code>MidiDeviceListEvent</code>                   * @param e A <code>MidiDeviceListEvent</code>
577                   * instance providing the event information.                   * instance providing the event information.
578                   */                   */
579                    @Override
580                  public void                  public void
581                  deviceAdded(MidiDeviceListEvent e) {                  deviceAdded(MidiDeviceListEvent e) {
582                          cbMidiDevice.addItem(e.getMidiDeviceModel().getDeviceInfo());                          cbMidiDevice.addItem(e.getMidiDeviceModel().getDeviceInfo());
# Line 585  public class NormalChannelOptionsView ex Line 587  public class NormalChannelOptionsView ex
587                   * @param e A <code>MidiDeviceListEvent</code>                   * @param e A <code>MidiDeviceListEvent</code>
588                   * instance providing the event information.                   * instance providing the event information.
589                   */                   */
590                    @Override
591                  public void                  public void
592                  deviceRemoved(MidiDeviceListEvent e) {                  deviceRemoved(MidiDeviceListEvent e) {
593                          cbMidiDevice.removeItem(e.getMidiDeviceModel().getDeviceInfo());                          cbMidiDevice.removeItem(e.getMidiDeviceModel().getDeviceInfo());
# Line 595  public class NormalChannelOptionsView ex Line 598  public class NormalChannelOptionsView ex
598                   * @param e An <code>AudioDeviceListEvent</code>                   * @param e An <code>AudioDeviceListEvent</code>
599                   * instance providing the event information.                   * instance providing the event information.
600                   */                   */
601                    @Override
602                  public void                  public void
603                  entryAdded(ListEvent<AudioDeviceModel> e) {                  entryAdded(ListEvent<AudioDeviceModel> e) {
604                          cbAudioDevice.addItem(e.getEntry().getDeviceInfo());                          cbAudioDevice.addItem(e.getEntry().getDeviceInfo());
# Line 605  public class NormalChannelOptionsView ex Line 609  public class NormalChannelOptionsView ex
609                   * @param e An <code>AudioDeviceListEvent</code>                   * @param e An <code>AudioDeviceListEvent</code>
610                   * instance providing the event information.                   * instance providing the event information.
611                   */                   */
612                    @Override
613                  public void                  public void
614                  entryRemoved(ListEvent<AudioDeviceModel> e) {                  entryRemoved(ListEvent<AudioDeviceModel> e) {
615                          cbAudioDevice.removeItem(e.getEntry().getDeviceInfo());                          cbAudioDevice.removeItem(e.getEntry().getDeviceInfo());
616                  }                  }
617                                    
618                    @Override
619                  public void                  public void
620                  settingsChanged(MidiDeviceEvent e) {                  settingsChanged(MidiDeviceEvent e) {
621                          if(isUpdate()) {                          if(isUpdate()) {
# Line 634  public class NormalChannelOptionsView ex Line 640  public class NormalChannelOptionsView ex
640                    
641          private class MapListListener implements ListListener<MidiInstrumentMap> {          private class MapListListener implements ListListener<MidiInstrumentMap> {
642                  /** Invoked when a new MIDI instrument map is added to a list. */                  /** Invoked when a new MIDI instrument map is added to a list. */
643                    @Override
644                  public void                  public void
645                  entryAdded(ListEvent<MidiInstrumentMap> e) {                  entryAdded(ListEvent<MidiInstrumentMap> e) {
646                          cbInstrumentMap.insertItemAt(e.getEntry(), cbInstrumentMap.getItemCount());                          cbInstrumentMap.insertItemAt(e.getEntry(), cbInstrumentMap.getItemCount());
# Line 642  public class NormalChannelOptionsView ex Line 649  public class NormalChannelOptionsView ex
649                  }                  }
650                    
651                  /** Invoked when a new MIDI instrument map is removed from a list. */                  /** Invoked when a new MIDI instrument map is removed from a list. */
652                    @Override
653                  public void                  public void
654                  entryRemoved(ListEvent<MidiInstrumentMap> e) {                  entryRemoved(ListEvent<MidiInstrumentMap> e) {
655                          cbInstrumentMap.removeItem(e.getEntry());                          cbInstrumentMap.removeItem(e.getEntry());

Legend:
Removed from v.1784  
changed lines
  Added in v.1785

  ViewVC Help
Powered by ViewVC