Uses of Interface javax.accessibility.AccessibleText (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
javax.accessibility.AccessibleText

- Packages that use AccessibleText
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.table | Provides classes and interfaces for dealing with `javax.swing.JTable`.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

- - ### Uses of AccessibleText in java.awt

    Classes in java.awt that implement AccessibleText
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `TextArea.AccessibleAWTTextArea` This class implements accessibility support for the `TextArea` class.
    `protected class` | `TextComponent.AccessibleAWTTextComponent` This class implements accessibility support for the `TextComponent` class.
    `protected class` | `TextField.AccessibleAWTTextField` This class implements accessibility support for the `TextField` class.

    Methods in java.awt that return AccessibleText
    Modifier and Type | Method and Description
    --- | ---
    `AccessibleText` | TextComponent.AccessibleAWTTextComponent.`getAccessibleText()` Get the AccessibleText associated with this object.

  - ### Uses of AccessibleText in javax.accessibility

    Subinterfaces of AccessibleText in javax.accessibility
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AccessibleEditableText` The AccessibleEditableText interface should be implemented by all classes that present editable textual information on the display.
    `interface` | `AccessibleHypertext` The AccessibleHypertext class is the base class for all classes that present hypertext information on the display.

    Methods in javax.accessibility that return AccessibleText
    Modifier and Type | Method and Description
    --- | ---
    `AccessibleText` | AccessibleContext.`getAccessibleText()` Gets the AccessibleText associated with this object presenting text on the display.

  - ### Uses of AccessibleText in javax.swing

    Classes in javax.swing that implement AccessibleText
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `AbstractButton.AccessibleAbstractButton` This class implements accessibility support for the `AbstractButton` class.
    `protected class` | `JButton.AccessibleJButton` This class implements accessibility support for the `JButton` class.
    `protected class` | `JCheckBox.AccessibleJCheckBox` This class implements accessibility support for the `JCheckBox` class.
    `protected class` | `JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem` This class implements accessibility support for the `JCheckBoxMenuItem` class.
    `protected class` | `JEditorPane.AccessibleJEditorPane` This class implements accessibility support for the `JEditorPane` class.
    `protected class` | `JEditorPane.AccessibleJEditorPaneHTML` This class provides support for `AccessibleHypertext`, and is used in instances where the `EditorKit` installed in this `JEditorPane` is an instance of `HTMLEditorKit`.
    `protected class` | `JEditorPane.JEditorPaneAccessibleHypertextSupport` What's returned by `AccessibleJEditorPaneHTML.getAccessibleText`.
    `protected class` | `JLabel.AccessibleJLabel` The class used to obtain the accessible role for this object.
    `protected class` | `JMenu.AccessibleJMenu` This class implements accessibility support for the `JMenu` class.
    `protected class` | `JMenuItem.AccessibleJMenuItem` This class implements accessibility support for the `JMenuItem` class.
    `protected class` | `JPasswordField.AccessibleJPasswordField` This class implements accessibility support for the `JPasswordField` class.
    `protected class` | `JRadioButton.AccessibleJRadioButton` This class implements accessibility support for the `JRadioButton` class.
    `protected class` | `JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem` This class implements accessibility support for the `JRadioButtonMenuItem` class.
    `protected class` | `JSpinner.AccessibleJSpinner` `AccessibleJSpinner` implements accessibility support for the `JSpinner` class.
    `protected class` | `JTextArea.AccessibleJTextArea` This class implements accessibility support for the `JTextArea` class.
    `protected class` | `JTextField.AccessibleJTextField` This class implements accessibility support for the `JTextField` class.
    `protected class` | `JToggleButton.AccessibleJToggleButton` This class implements accessibility support for the `JToggleButton` class.
    `protected class` | `ProgressMonitor.AccessibleProgressMonitor` `AccessibleProgressMonitor` implements accessibility support for the `ProgressMonitor` class.

    Methods in javax.swing that return AccessibleText
    Modifier and Type | Method and Description
    --- | ---
    `AccessibleText` | ProgressMonitor.AccessibleProgressMonitor.`getAccessibleText()` Gets the AccessibleText associated with this object presenting text on the display.
    `AccessibleText` | JTable.AccessibleJTable.AccessibleJTableCell.`getAccessibleText()` Gets the `AccessibleText` associated with this object if one exists.
    `AccessibleText` | JList.AccessibleJList.AccessibleJListChild.`getAccessibleText()`
    `AccessibleText` | AbstractButton.AccessibleAbstractButton.`getAccessibleText()`
    `AccessibleText` | JTree.AccessibleJTree.AccessibleJTreeNode.`getAccessibleText()` Get the AccessibleText associated with this object if one exists.
    `AccessibleText` | JPasswordField.AccessibleJPasswordField.`getAccessibleText()` Gets the `AccessibleText` for the `JPasswordField`.
    `AccessibleText` | JEditorPane.AccessibleJEditorPaneHTML.`getAccessibleText()`
    `AccessibleText` | JSpinner.AccessibleJSpinner.`getAccessibleText()` Gets the AccessibleText associated with this object presenting text on the display.
    `AccessibleText` | JLabel.AccessibleJLabel.`getAccessibleText()`

  - ### Uses of AccessibleText in javax.swing.table

    Methods in javax.swing.table that return AccessibleText
    Modifier and Type | Method and Description
    --- | ---
    `AccessibleText` | JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.`getAccessibleText()`

  - ### Uses of AccessibleText in javax.swing.text

    Classes in javax.swing.text that implement AccessibleText
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JTextComponent.AccessibleJTextComponent` This class implements accessibility support for the `JTextComponent` class.

    Methods in javax.swing.text that return AccessibleText
    Modifier and Type | Method and Description
    --- | ---
    `AccessibleText` | JTextComponent.AccessibleJTextComponent.`getAccessibleText()` Get the AccessibleText associated with this object.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.