See: Description
Interface | Description |
---|---|
Accessible |
Interface Accessible is the main interface for the accessibility package.
|
AccessibleAction |
The AccessibleAction interface should be supported by any object
that can perform one or more actions.
|
AccessibleComponent |
The AccessibleComponent interface should be supported by any object
that is rendered on the screen.
|
AccessibleEditableText |
The AccessibleEditableText interface should be implemented by all
classes that present editable textual information on the display.
|
AccessibleExtendedComponent |
The AccessibleExtendedComponent interface should be supported by any object
that is rendered on the screen.
|
AccessibleExtendedTable |
Class AccessibleExtendedTable provides extended information about
a user-interface component that presents data in a two-dimensional
table format.
|
AccessibleExtendedText |
The AccessibleExtendedText interface contains additional methods
not provided by the AccessibleText interface
Applications can determine if an object supports the AccessibleExtendedText
interface by first obtaining its AccessibleContext (see
Accessible )
and then calling the AccessibleContext.getAccessibleText() method of
AccessibleContext. |
AccessibleHypertext |
The AccessibleHypertext class is the base class for all
classes that present hypertext information on the display.
|
AccessibleIcon |
The AccessibleIcon interface should be supported by any object
that has an associated icon (e.g., buttons).
|
AccessibleKeyBinding |
The AccessibleKeyBinding interface should be supported by any object
that has a keyboard bindings such as a keyboard mnemonic and/or keyboard
shortcut which can be used to select the object.
|
AccessibleSelection |
This AccessibleSelection interface
provides the standard mechanism for an assistive technology to determine
what the current selected children are, as well as modify the selection set.
|
AccessibleStreamable |
The
AccessibleStreamable interface should be implemented
by the AccessibleContext of any component that presents the
raw stream behind a component on the display screen. |
AccessibleTable |
Class AccessibleTable describes a user-interface component that
presents data in a two-dimensional table format.
|
AccessibleTableModelChange |
The AccessibleTableModelChange interface describes a change to
the table model.
|
AccessibleText |
The AccessibleText interface should be implemented by all
classes that present textual information on the display.
|
AccessibleValue |
The AccessibleValue interface should be supported by any object
that supports a numerical value (e.g., a scroll bar).
|
Class | Description |
---|---|
AccessibleAttributeSequence |
This class collects together the span of text that share the same
contiguous set of attributes, along with that set of attributes.
|
AccessibleBundle |
Base class used to maintain a strongly typed enumeration.
|
AccessibleContext |
AccessibleContext represents the minimum information all accessible objects
return.
|
AccessibleHyperlink |
Encapsulation of a link, or set of links (e.g.
|
AccessibleRelation |
Class AccessibleRelation describes a relation between the
object that implements the AccessibleRelation and one or more other
objects.
|
AccessibleRelationSet |
Class AccessibleRelationSet determines a component's relation set.
|
AccessibleResourceBundle | Deprecated
This class is deprecated as of version 1.3 of the
Java Platform.
|
AccessibleRole |
Class AccessibleRole determines the role of a component.
|
AccessibleState |
Class AccessibleState describes a component's particular state.
|
AccessibleStateSet |
Class AccessibleStateSet determines a component's state set.
|
AccessibleTextSequence |
This class collects together key details of a span of text.
|
The Java Accessibility API package consists of 8 Java programming language interfaces, and 6 Java programming language classes. These are described below.
The constants in this class present a strongly typed enumeration of common object roles. A public constructor for this class has been purposely omitted and applications should use one of the constants from this class. Although this class pre-defines a large list of standard roles, it is extensible so additional, programmer-defined roles can be added in the future without needing to modify the base class.
Applications can determine if an object supports the AccessibleAction interface by first obtaining its AccessibleContext (see Accessible) and then calling the getAccessibleAction method of AccessibleContext. If the return value is not null, the object supports this interface.
Applications can determine if an object supports the AccessibleComponent interface by first obtaining its AccessibleContext (see Accessible) and then calling the getAccessibleComponent method of AccessibleContext. If the return value is not null, the object supports this interface.
Applications can determine if an object supports the AccessibleSelection interface by first obtaining its AccessibleContext (see Accessible) and then calling the getAccessibleSelection method of AccessibleContext. If the return value is not null, the object supports this interface.
This interface provides support for going between pixel coordinates and the text at a given pixel coordinate, for retrieving the letter, word, and sentence at, before, or after a given position in the text. This interface provides support for retrieving the attributes of the character at a given position in the text (font, font size, style, etc.), as well as getting the selected text (if any), the length of the text, and the location of the text caret.
Applications can determine if an object supports the AccessibleText interface by first obtaining its AccessibleContext (see Accessible) and then calling the getAccessibleText method of AccessibleContext. If the return value is not null, the object supports this interface.
Applications can determine if an object supports the AccessibleValue interface by first obtaining its AccessibleContext (see Accessible) and then calling the getAccessibleValue method of AccessibleContext. If the return value is not null, the object supports this interface.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.