org.eclipse.actf.accservice.adapt
Class AccessibilityAdaptor

java.lang.Object
  extended by org.eclipse.actf.accservice.adapt.AccessibilityAdaptor
All Implemented Interfaces:
IAdaptor
Direct Known Subclasses:
MozillaDomAccessibilityAdaptor, SwingAccessibilityAdaptor, SwtAccessibilityAdaptor

public abstract class AccessibilityAdaptor
extends Object
implements IAdaptor

base type for all accessibility adaptors in ACTF. All accessibility adaptors extend this class and support adapting a given object to an instance of IAccessibleElement.

Author:
Mike Squillace
See Also:
IAccessibleElement

Constructor Summary
AccessibilityAdaptor()
           
 
Method Summary
protected  IAccessibleElement createAccessibleElement(Object element, Object[] params, String accServiceName)
           
 Class[] getSupportedTypes()
          returns the types to which given objects may be adapted by this adaptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.actf.core.adapt.IAdaptor
adapt
 

Constructor Detail

AccessibilityAdaptor

public AccessibilityAdaptor()
Method Detail

getSupportedTypes

public Class[] getSupportedTypes()
returns the types to which given objects may be adapted by this adaptor. One of these types should be used when calling the adapt method.

Specified by:
getSupportedTypes in interface IAdaptor
Returns:
list of types to which objects can be adapted by this adaptor
See Also:
IAdaptor.adapt(Object, Class)

createAccessibleElement

protected IAccessibleElement createAccessibleElement(Object element,
                                                     Object[] params,
                                                     String accServiceName)