org.eclipse.actf.accservice.javapp
Class JavaAccessibilityEventService

java.lang.Object
  extended by org.eclipse.actf.accservice.javapp.JavaAccessibilityEventService
All Implemented Interfaces:
IAccessibilityEventService

public class JavaAccessibilityEventService
extends Object
implements IAccessibilityEventService

Author:
wscarter

Field Summary
protected  Map _hookMap
           
protected static Map _listenerMap
           
protected  IWindowService _windowService
           
 
Constructor Summary
JavaAccessibilityEventService(IWindowService windowService)
           
 
Method Summary
 void addAccessibilityEventListener(IModelEventListener listener, Object[] eventTypes)
          add the listener to be notified when events of the given type are fired from the underlying system
 void removeAccessibilityEventListener(IModelEventListener listener, Object[] eventTypes)
          remove a previously added listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_listenerMap

protected static Map _listenerMap

_hookMap

protected Map _hookMap

_windowService

protected IWindowService _windowService
Constructor Detail

JavaAccessibilityEventService

public JavaAccessibilityEventService(IWindowService windowService)
Method Detail

addAccessibilityEventListener

public void addAccessibilityEventListener(IModelEventListener listener,
                                          Object[] eventTypes)
add the listener to be notified when events of the given type are fired from the underlying system

Specified by:
addAccessibilityEventListener in interface IAccessibilityEventService
Parameters:
listener -
eventTypes - to be chosen from constants in this class
See Also:
org.eclipse.actf.accservice.win32.msaa.MsaaGuiModel#registerModelEventListener(IModelEventListener, Object[])

removeAccessibilityEventListener

public void removeAccessibilityEventListener(IModelEventListener listener,
                                             Object[] eventTypes)
remove a previously added listener

Specified by:
removeAccessibilityEventListener in interface IAccessibilityEventService
See Also:
#addAccessibilityListener(AccessibilityEventListener, Object)