protected class

JEditorPane.AccessibleJEditorPaneHTML

extends JEditorPane.AccessibleJEditorPane
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Container.AccessibleAWTContainer
         ↳ javax.swing.JComponent.AccessibleJComponent
           ↳ javax.swing.text.JTextComponent.AccessibleJTextComponent
             ↳ javax.swing.JEditorPane.AccessibleJEditorPane
               ↳ javax.swing.JEditorPane.AccessibleJEditorPaneHTML

Class Overview

This class provides support for AccessibleHypertext, and is used in instances where the EditorKit installed in this JEditorPane is an instance of HTMLEditorKit.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.

Summary

[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
From interface javax.accessibility.AccessibleExtendedText
From interface javax.accessibility.AccessibleText
[Expand]
Inherited Fields
From class javax.swing.JComponent.AccessibleJComponent
From class java.awt.Container.AccessibleAWTContainer
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From interface javax.accessibility.AccessibleAction
Protected Constructors
JEditorPane.AccessibleJEditorPaneHTML()
Public Methods
Accessible getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local coordinate Point.
Accessible getAccessibleChild(int i)
Returns the specified Accessible child of the object.
int getAccessibleChildrenCount()
Returns the number of accessible children of the object.
AccessibleText getAccessibleText()
Get the AccessibleText associated with this object.
[Expand]
Inherited Methods
From class javax.swing.JEditorPane.AccessibleJEditorPane
From class javax.swing.text.JTextComponent.AccessibleJTextComponent
From class javax.swing.JComponent.AccessibleJComponent
From class java.awt.Container.AccessibleAWTContainer
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From class java.lang.Object
From interface javax.accessibility.AccessibleAction
From interface javax.accessibility.AccessibleComponent
From interface javax.accessibility.AccessibleEditableText
From interface javax.accessibility.AccessibleExtendedComponent
From interface javax.accessibility.AccessibleExtendedText
From interface javax.accessibility.AccessibleText
From interface javax.swing.event.CaretListener
From interface javax.swing.event.DocumentListener

Protected Constructors

protected JEditorPane.AccessibleJEditorPaneHTML ()

Public Methods

public Accessible getAccessibleAt (Point p)

Returns the Accessible child, if one exists, contained at the local coordinate Point.

Parameters
p The point relative to the coordinate system of this object.
Returns
  • the Accessible, if it exists, at the specified location; otherwise null

public Accessible getAccessibleChild (int i)

Returns the specified Accessible child of the object. The Accessible children of an Accessible object are zero-based, so the first child of an Accessible child is at index 0, the second child is at index 1, and so on.

Parameters
i zero-based index of child
Returns
  • the Accessible child of the object

public int getAccessibleChildrenCount ()

Returns the number of accessible children of the object.

Returns
  • the number of accessible children of the object.

public AccessibleText getAccessibleText ()

Get the AccessibleText associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleText interface on behalf of itself.

Returns
  • this object