protected class

JMenuItem.AccessibleJMenuItem

extends AbstractButton.AccessibleAbstractButton
implements ChangeListener
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Container.AccessibleAWTContainer
         ↳ javax.swing.JComponent.AccessibleJComponent
           ↳ javax.swing.AbstractButton.AccessibleAbstractButton
             ↳ javax.swing.JMenuItem.AccessibleJMenuItem
Known Direct Subclasses

Class Overview

This class implements accessibility support for the JMenuItem class. It provides an implementation of the Java Accessibility API appropriate to menu item 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

[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
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
Public Methods
AccessibleRole getAccessibleRole()
Get the role of this object.
void stateChanged(ChangeEvent e)
Supports the change listener interface and fires property changes.
[Expand]
Inherited Methods
From class javax.swing.AbstractButton.AccessibleAbstractButton
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.AccessibleExtendedComponent
From interface javax.accessibility.AccessibleText
From interface javax.accessibility.AccessibleValue
From interface javax.swing.event.ChangeListener

Public Methods

public AccessibleRole getAccessibleRole ()

Get the role of this object.

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

public void stateChanged (ChangeEvent e)

Supports the change listener interface and fires property changes.

Parameters
e a ChangeEvent object