javax.swing
protected class JMenuItem.AccessibleJMenuItem extends AccessibleAbstractButton implements ChangeListener
JMenuItem
component.
See Also: getAccessibleContext
Method Summary | |
---|---|
AccessibleRole | getAccessibleRole()
Returns the accessible role for the JMenuItem component.
|
void | stateChanged(ChangeEvent event)
Receives notification when the menu item's state changes and fires
appropriate property change events to registered listeners.
|
JMenuItem
component.
Returns: {@link AccessibleRole#MENU_ITEM}.
Parameters: event the change event