javax.usb.event
Class UsbDeviceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.usb.event.UsbDeviceEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UsbDeviceDataEvent, UsbDeviceErrorEvent

public class UsbDeviceEvent
extends java.util.EventObject

Class for USB device events.

Author:
E. Michael Maximilien
See Also:
Serialized Form

Constructor Summary
UsbDeviceEvent(UsbDevice source)
          Constructor.
 
Method Summary
 UsbDevice getUsbDevice()
          Get the UsbDevice.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsbDeviceEvent

public UsbDeviceEvent(UsbDevice source)
Constructor.

Parameters:
source - The source UsbDevice.
Method Detail

getUsbDevice

public UsbDevice getUsbDevice()
Get the UsbDevice.

Returns:
The associated UsbDevice.