|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAccessibilityService
a service for accessing platform-specific accessibility models. An
IAccessibilityService
object is used to access two sorts of
objects:
An IAccessibilityService
should be registered with the
AccessibilityServiceManager
and must include only the default
no-argument constructor.
AccessibilityServiceManager.registerAccessibilityService(String, String)
Field Summary | |
---|---|
static long |
serialVersionUID
|
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. |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
IAccessibleElement createAccessibleElement(Object obj, Object[] params) throws InvalidComponentException
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.
obj
- object for which an accessible is desiredparams
- optional parameters for creating the accessible (may be
null
)
IAccessibleElement
for the given object
InvalidComponentException
- if the given object is somehow invalid or an accessible
cannot b created for the given objectIAccessibilityEventService getAccessibilityEventService()
IAccessibilityEventService
allows
clients to register event listeners to listen for low-level,
platform-specific events that are used by accessibility devices (like
assistive technologies).
IAccessibilityEventService
object for this
accessibility infrastructure or null
if no such
event service is availableIWindowService getWindowService()
null
if no
such service existsvoid initialize() throws AccessibilityServiceException
AccessibilityServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |