javax.usb.event
Class UsbDeviceEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
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
clone, equals, finalize, 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.