com.jniwrapper.win32.shell.events
Class MediaEventsSubscriber

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

public class MediaEventsSubscriber
extends ShellEventsSubscriber
implements ShellEventsListener

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


Constructor Summary
MediaEventsSubscriber()
           
 
Method Summary
 void addMediaListener(MediaListener listener)
           
 void processEvent(ShellEvent event)
          Invoked when a shell event has occurred.
 void removeMediaListener(MediaListener 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

MediaEventsSubscriber

public MediaEventsSubscriber()
Method Detail

addMediaListener

public void addMediaListener(MediaListener listener)

removeMediaListener

public void removeMediaListener(MediaListener 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