protected class

JTableHeader.AccessibleJTableHeader

extends JComponent.AccessibleJComponent
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Container.AccessibleAWTContainer
         ↳ javax.swing.JComponent.AccessibleJComponent
           ↳ javax.swing.table.JTableHeader.AccessibleJTableHeader

Class Overview

This class implements accessibility support for the JTableHeader class. It provides an implementation of the Java Accessibility API appropriate to table header user-interface elements.

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

Nested Classes
class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry This class provides an implementation of the Java Accessibility API appropropriate for JTableHeader entries. 
[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
[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
Protected Constructors
JTableHeader.AccessibleJTableHeader()
Public Methods
Accessible getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local coordinate Point.
Accessible getAccessibleChild(int i)
Return the nth Accessible child of the object.
int getAccessibleChildrenCount()
Returns the number of accessible children in the object.
AccessibleRole getAccessibleRole()
Get the role of this object.
[Expand]
Inherited Methods
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.AccessibleComponent
From interface javax.accessibility.AccessibleExtendedComponent

Protected Constructors

protected JTableHeader.AccessibleJTableHeader ()

Public Methods

public Accessible getAccessibleAt (Point p)

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

Parameters
p The point defining the top-left corner of the Accessible, given in the coordinate space of the object's parent.
Returns
  • the Accessible, if it exists, at the specified location; else null

public Accessible getAccessibleChild (int i)

Return the nth Accessible child of the object.

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

public int getAccessibleChildrenCount ()

Returns the number of accessible children in the object. If all of the children of this object implement Accessible, than this method should return the number of children of this object.

Returns
  • the number of accessible children in the object.

public AccessibleRole getAccessibleRole ()

Get the role of this object.

Returns
  • an instance of AccessibleRole describing the role of the object
See Also