com.jniwrapper.win32.shell.events
Class ShellEventsSubscriber
java.lang.Object
com.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellEventsSubscriber
public ShellEventsSubscriber()
ShellEventsSubscriber
public ShellEventsSubscriber(Handle idList,
boolean recursive)
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.