com.jniwrapper.win32.shell.events
Class DriveEventsSubscriber

java.lang.Object
  extended by com.jniwrapper.win32.shell.events.ShellEventsSubscriber
      extended by com.jniwrapper.win32.shell.events.DriveEventsSubscriber
All Implemented Interfaces:
ShellEventsListener, java.util.EventListener

public class DriveEventsSubscriber
extends ShellEventsSubscriber
implements ShellEventsListener

In addition to the ShellEventsSubscriber this class provides a convenient way for processing drive events.


Constructor Summary
DriveEventsSubscriber()
           
 
Method Summary
 void addDriveListener(DriveListener listener)
           
 void processEvent(ShellEvent event)
          Invoked when a shell event has occurred.
 void removeDriveListener(DriveListener listener)
           
 
Methods inherited from class com.jniwrapper.win32.shell.events.ShellEventsSubscriber
addShellEventsListener, removeShellEventsListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriveEventsSubscriber

public DriveEventsSubscriber()
Method Detail

addDriveListener

public void addDriveListener(DriveListener listener)

removeDriveListener

public void removeDriveListener(DriveListener listener)

processEvent

public void processEvent(ShellEvent event)
Description copied from interface: ShellEventsListener
Invoked when a shell event has occurred.

Specified by:
processEvent in interface ShellEventsListener