JSampler
v0.8a

org.jsampler.task
Class Midi.EnableDevice

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask
          extended by org.jsampler.task.Midi.EnableDevice
Enclosing class:
Midi

public static class Midi.EnableDevice
extends EnhancedTask

This task enables/disables a specific MIDI input device.


Constructor Summary
Midi.EnableDevice(int dev, boolean enable)
          Creates new instance of EnableDevice.
 
Method Summary
 void run()
          The entry point of the task.
 
Methods inherited from class org.jsampler.task.EnhancedTask
isStopped, setErrorDetails, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Midi.EnableDevice

public Midi.EnableDevice(int dev,
                         boolean enable)
Creates new instance of EnableDevice.

Parameters:
dev - The id of the device to be enabled/disabled.
enable - Specify true to enable the MIDI device; code>false to disable it.
Method Detail

run

public void run()
The entry point of the task.


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.