|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.accservice.adapt.win32.ia2.IA2AccessibilityAdaptor
public class IA2AccessibilityAdaptor
Implementation for the IA2 Accesibility IAdaptor
.
Constructor Summary | |
---|---|
IA2AccessibilityAdaptor()
|
Method Summary | |
---|---|
Object |
adapt(Object o,
Class type)
adapts the object to the given type. |
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 |
Constructor Detail |
---|
public IA2AccessibilityAdaptor()
Method Detail |
---|
public Class[] getSupportedTypes()
adapt
method.
getSupportedTypes
in interface IAdaptor
IAdaptor.adapt(Object, Class)
public Object adapt(Object o, Class type) throws Exception
getSupportedTypes
.
All attempts should be made to insure that this method is symmetric. That is, if
object o
is of type B
, then:
adapt(adapt(o, A.class), B.class) = o
Also note that both types A
and B
should be returned
by getSupportedTypes
.
adapt
in interface IAdaptor
o
- - object to be adaptedtype
- - the type to which the object is to be adapted
null
if the
object could not be adapted to the given type
Exception
IAdaptor.getSupportedTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |