JSampler
v0.8a

org.jsampler.event
Class MidiDeviceListEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jsampler.event.MidiDeviceListEvent
All Implemented Interfaces:
java.io.Serializable

public class MidiDeviceListEvent
extends java.util.EventObject

A semantic event which indicates changes of a MIDI device list.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MidiDeviceListEvent(java.lang.Object source, MidiDeviceModel midiDeviceModel)
          Constructs a MidiDeviceListEvent object.
 
Method Summary
 MidiDeviceModel getMidiDeviceModel()
          Gets the MIDI device model for which this event occurs.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MidiDeviceListEvent

public MidiDeviceListEvent(java.lang.Object source,
                           MidiDeviceModel midiDeviceModel)
Constructs a MidiDeviceListEvent object.

Parameters:
source - The object that originated the event.
midiDeviceModel - The model of the MIDI device for which this event occurs.
Method Detail

getMidiDeviceModel

public MidiDeviceModel getMidiDeviceModel()
Gets the MIDI device model for which this event occurs.

Returns:
The MIDI device model for which this event occurs.

JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.