org.eclipse.actf.accservice.core.win32.ia2
Class IA2AccessibilityService

java.lang.Object
  extended by org.eclipse.actf.accservice.core.win32.msaa.MsaaAccessibilityService
      extended by org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibilityService
All Implemented Interfaces:
Serializable, IAccessibilityService

public class IA2AccessibilityService
extends MsaaAccessibilityService

See Also:
Serialized Form

Field Summary
static String ACTF_IA2_LIBRARY_NAME
          name of dynamic module for IA2 access; value is 'actf-ia2'
static String IA2_ACCSERVICE_NAME
          accessibility service name for this service; value is 'ia2'
 
Fields inherited from class org.eclipse.actf.accservice.core.win32.msaa.MsaaAccessibilityService
ACTF_MSAA_LIBRARY_NAME, MSAA_ACCSERVICE_NAME
 
Constructor Summary
IA2AccessibilityService()
           
 
Method Summary
 IAccessibleElement createAccessibleElement(Object obj, Object[] params)
          create an IAccessibleElement from the given object and optional parameters.
 IAccessibilityEventService getAccessibilityEventService()
          retreaves the event services for the underlying accessibility infrastructure.
 IWindowService getWindowService()
          returns a service for windowing-related functionality.
 void initialize()
          initialize the service by loading native libraries, configuring platform-specific resources, and the like.
protected static boolean internalCoInitialize()
           
protected static boolean internalCoUnInitialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTF_IA2_LIBRARY_NAME

public static final String ACTF_IA2_LIBRARY_NAME
name of dynamic module for IA2 access; value is 'actf-ia2'

See Also:
Constant Field Values

IA2_ACCSERVICE_NAME

public static final String IA2_ACCSERVICE_NAME
accessibility service name for this service; value is 'ia2'

See Also:
Constant Field Values
Constructor Detail

IA2AccessibilityService

public IA2AccessibilityService()
Method Detail

createAccessibleElement

public IAccessibleElement createAccessibleElement(Object obj,
                                                  Object[] params)
                                           throws InvalidComponentException
create an IAccessibleElement from the given object and optional parameters. IAccessibleElement instances are used to access accesibility-related properties of the given object and need not (and, in most cases, are not) the same object as the given object.

Specified by:
createAccessibleElement in interface IAccessibilityService
Overrides:
createAccessibleElement in class MsaaAccessibilityService
Parameters:
obj - object for which an accessible is desired
params - optional parameters for creating the accessible (may be null)
Returns:
an IAccessibleElement for the given object
Throws:
InvalidComponentException - if the given object is somehow invalid or an accessible cannot b created for the given object

getAccessibilityEventService

public IAccessibilityEventService getAccessibilityEventService()
retreaves the event services for the underlying accessibility infrastructure. The IAccessibilityEventService allows clients to register event listeners to listen for low-level, platform-specific events that are used by accessibility devices (like assistive technologies).

Specified by:
getAccessibilityEventService in interface IAccessibilityService
Overrides:
getAccessibilityEventService in class MsaaAccessibilityService
Returns:
the IAccessibilityEventService object for this accessibility infrastructure or null if no such event service is available

getWindowService

public IWindowService getWindowService()
returns a service for windowing-related functionality. This includes getting the top-level windows of whatever the platform considers to be its desktop, adding listeners to observe creation and destruction of top-level windows, and getting the active or current window.

Specified by:
getWindowService in interface IAccessibilityService
Overrides:
getWindowService in class MsaaAccessibilityService
Returns:
windowing service for this platform or null if no such service exists

initialize

public void initialize()
                throws AccessibilityServiceException
Description copied from interface: IAccessibilityService
initialize the service by loading native libraries, configuring platform-specific resources, and the like. This method will be called by the service manager upon instantiating the service.

Specified by:
initialize in interface IAccessibilityService
Overrides:
initialize in class MsaaAccessibilityService
Throws:
AccessibilityServiceException

internalCoInitialize

protected static boolean internalCoInitialize()

internalCoUnInitialize

protected static boolean internalCoUnInitialize()