com.jniwrapper.win32.shell.events
Class ShellEventsSubscriber

java.lang.Object
  extended bycom.jniwrapper.win32.shell.events.ShellEventsSubscriber
Direct Known Subclasses:
DriveEventsSubscriber, MediaEventsSubscriber

public class ShellEventsSubscriber
extends java.lang.Object

This class provides the convenient way for listening of various shell events that may occur in a system.

All possible shell events are described in ShellEvent class.

To receive and process a particular shell event you need to add ShellEventsListener listener.


Constructor Summary
ShellEventsSubscriber()
           
ShellEventsSubscriber(Handle idList, boolean recursive)
           
 
Method Summary
 void addShellEventsListener(ShellEventsListener listener)
          Adds the specified listener to receive shell events from this subscriber.
 void removeShellEventsListener(ShellEventsListener listener)
          Removes the specified listener so that it no longer receives shell events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellEventsSubscriber

public ShellEventsSubscriber()

ShellEventsSubscriber

public ShellEventsSubscriber(Handle idList,
                             boolean recursive)
Method Detail

addShellEventsListener

public void addShellEventsListener(ShellEventsListener listener)
Adds the specified listener to receive shell events from this subscriber.


removeShellEventsListener

public void removeShellEventsListener(ShellEventsListener listener)
Removes the specified listener so that it no longer receives shell events.