java.awt
Class MenuItem.AccessibleAWTMenuItem

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext 
      extended by java.awt.MenuComponent.AccessibleAWTMenuComponent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent 
          extended by java.awt.MenuItem.AccessibleAWTMenuItem
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction , AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent , AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection , AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue
Direct Known Subclasses:
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem sample code for java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem definition code for java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem , Menu.AccessibleAWTMenu sample code for java.awt.Menu.AccessibleAWTMenu definition code for java.awt.Menu.AccessibleAWTMenu
Enclosing class:
MenuItem sample code for java.awt.MenuItem definition code for java.awt.MenuItem

protected class MenuItem.AccessibleAWTMenuItem
extends MenuComponent.AccessibleAWTMenuComponent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent
implements AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction , AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue

Inner class of MenuItem used to provide default support for accessibility. This class is not meant to be used directly by application developers, but is instead meant only to be subclassed by menu component developers.

This class implements accessibility support for the MenuItem class. It provides an implementation of the Java Accessibility API appropriate to menu item user-interface elements.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
ACCESSIBLE_ACTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTION_PROPERTY , ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY , ACCESSIBLE_CARET_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_CARET_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_CARET_PROPERTY , ACCESSIBLE_CHILD_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY , ACCESSIBLE_COMPONENT_BOUNDS_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED , ACCESSIBLE_DESCRIPTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY , ACCESSIBLE_HYPERTEXT_OFFSET sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET , ACCESSIBLE_INVALIDATE_CHILDREN sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN , ACCESSIBLE_NAME_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY , ACCESSIBLE_SELECTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY , ACCESSIBLE_STATE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY , ACCESSIBLE_TABLE_CAPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED , ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED , ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED , ACCESSIBLE_TABLE_MODEL_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED , ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED , ACCESSIBLE_TABLE_ROW_HEADER_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED , ACCESSIBLE_TABLE_SUMMARY_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED , ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED , ACCESSIBLE_TEXT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY , ACCESSIBLE_VALUE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY , ACCESSIBLE_VISIBLE_DATA_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY , accessibleDescription sample code for javax.accessibility.AccessibleContext.accessibleDescription definition code for javax.accessibility.AccessibleContext.accessibleDescription , accessibleName sample code for javax.accessibility.AccessibleContext.accessibleName definition code for javax.accessibility.AccessibleContext.accessibleName , accessibleParent sample code for javax.accessibility.AccessibleContext.accessibleParent definition code for javax.accessibility.AccessibleContext.accessibleParent
 
Fields inherited from interface javax.accessibility.AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
DECREMENT sample code for javax.accessibility.AccessibleAction.DECREMENT definition code for javax.accessibility.AccessibleAction.DECREMENT , INCREMENT sample code for javax.accessibility.AccessibleAction.INCREMENT definition code for javax.accessibility.AccessibleAction.INCREMENT , TOGGLE_EXPAND sample code for javax.accessibility.AccessibleAction.TOGGLE_EXPAND definition code for javax.accessibility.AccessibleAction.TOGGLE_EXPAND
 
Constructor Summary
protected MenuItem.AccessibleAWTMenuItem sample code for java.awt.MenuItem.AccessibleAWTMenuItem.MenuItem.AccessibleAWTMenuItem() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.MenuItem.AccessibleAWTMenuItem() ()
           
 
Method Summary
 boolean doAccessibleAction sample code for java.awt.MenuItem.AccessibleAWTMenuItem.doAccessibleAction(int) definition code for java.awt.MenuItem.AccessibleAWTMenuItem.doAccessibleAction(int) (int i)
          Perform the specified Action on the object
 AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction getAccessibleAction sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleAction() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleAction() ()
          Get the AccessibleAction associated with this object.
 int getAccessibleActionCount sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionCount() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionCount() ()
          Returns the number of Actions available in this object.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleActionDescription sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int) definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int) (int i)
          Return a description of the specified action of the object.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleName sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleName() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleName() ()
          Get the accessible name of this object.
 AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole getAccessibleRole sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleRole() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleRole() ()
          Get the role of this object.
 AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue getAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleValue() ()
          Get the AccessibleValue associated with this object.
 Number sample code for java.lang.Number definition code for java.lang.Number getCurrentAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getCurrentAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getCurrentAccessibleValue() ()
          Get the value of this object as a Number.
 Number sample code for java.lang.Number definition code for java.lang.Number getMaximumAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getMaximumAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getMaximumAccessibleValue() ()
          Get the maximum value of this object as a Number.
 Number sample code for java.lang.Number definition code for java.lang.Number getMinimumAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getMinimumAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getMinimumAccessibleValue() ()
          Get the minimum value of this object as a Number.
 boolean setCurrentAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.setCurrentAccessibleValue(java.lang.Number) definition code for java.awt.MenuItem.AccessibleAWTMenuItem.setCurrentAccessibleValue(java.lang.Number) (Number sample code for java.lang.Number definition code for java.lang.Number  n)
          Set the value of this object as a Number.
 
Methods inherited from class java.awt.MenuComponent.AccessibleAWTMenuComponent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent
addAccessibleSelection sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.addAccessibleSelection(int) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.addAccessibleSelection(int) , addFocusListener sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.addFocusListener(java.awt.event.FocusListener) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.addFocusListener(java.awt.event.FocusListener) , clearAccessibleSelection sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.clearAccessibleSelection() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.clearAccessibleSelection() , contains sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.contains(java.awt.Point) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.contains(java.awt.Point) , getAccessibleAt sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleAt(java.awt.Point) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleAt(java.awt.Point) , getAccessibleChild sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleChild(int) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleChild(int) , getAccessibleChildrenCount sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleChildrenCount() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleChildrenCount() , getAccessibleComponent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleComponent() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleComponent() , getAccessibleDescription sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription() , getAccessibleIndexInParent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleIndexInParent() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleIndexInParent() , getAccessibleParent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleParent() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleParent() , getAccessibleSelection sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleSelection() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleSelection() , getAccessibleSelection sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleSelection(int) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleSelection(int) , getAccessibleSelectionCount sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleSelectionCount() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleSelectionCount() , getAccessibleStateSet sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleStateSet() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleStateSet() , getBackground sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getBackground() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getBackground() , getBounds sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getBounds() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getBounds() , getCursor sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getCursor() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getCursor() , getFont sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getFont() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getFont() , getFontMetrics sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getFontMetrics(java.awt.Font) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getFontMetrics(java.awt.Font) , getForeground sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getForeground() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getForeground() , getLocale sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getLocale() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getLocale() , getLocation sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getLocation() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getLocation() , getLocationOnScreen sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getLocationOnScreen() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getLocationOnScreen() , getSize sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getSize() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getSize() , isAccessibleChildSelected sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isAccessibleChildSelected(int) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isAccessibleChildSelected(int) , isEnabled sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isEnabled() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isEnabled() , isFocusTraversable sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isFocusTraversable() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isFocusTraversable() , isShowing sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isShowing() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isShowing() , isVisible sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isVisible() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.isVisible() , removeAccessibleSelection sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.removeAccessibleSelection(int) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.removeAccessibleSelection(int) , removeFocusListener sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.removeFocusListener(java.awt.event.FocusListener) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.removeFocusListener(java.awt.event.FocusListener) , requestFocus sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.requestFocus() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.requestFocus() , selectAllAccessibleSelection sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.selectAllAccessibleSelection() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.selectAllAccessibleSelection() , setBackground sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setBackground(java.awt.Color) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setBackground(java.awt.Color) , setBounds sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setBounds(java.awt.Rectangle) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setBounds(java.awt.Rectangle) , setCursor sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setCursor(java.awt.Cursor) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setCursor(java.awt.Cursor) , setEnabled sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setEnabled(boolean) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setEnabled(boolean) , setFont sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setFont(java.awt.Font) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setFont(java.awt.Font) , setForeground sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setForeground(java.awt.Color) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setForeground(java.awt.Color) , setLocation sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setLocation(java.awt.Point) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setLocation(java.awt.Point) , setSize sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setSize(java.awt.Dimension) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setSize(java.awt.Dimension) , setVisible sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setVisible(boolean) definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.setVisible(boolean)
 
Methods inherited from class javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
addPropertyChangeListener sample code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) , firePropertyChange sample code for javax.accessibility.AccessibleContext.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) definition code for javax.accessibility.AccessibleContext.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) , getAccessibleEditableText sample code for javax.accessibility.AccessibleContext.getAccessibleEditableText() definition code for javax.accessibility.AccessibleContext.getAccessibleEditableText() , getAccessibleIcon sample code for javax.accessibility.AccessibleContext.getAccessibleIcon() definition code for javax.accessibility.AccessibleContext.getAccessibleIcon() , getAccessibleRelationSet sample code for javax.accessibility.AccessibleContext.getAccessibleRelationSet() definition code for javax.accessibility.AccessibleContext.getAccessibleRelationSet() , getAccessibleTable sample code for javax.accessibility.AccessibleContext.getAccessibleTable() definition code for javax.accessibility.AccessibleContext.getAccessibleTable() , getAccessibleText sample code for javax.accessibility.AccessibleContext.getAccessibleText() definition code for javax.accessibility.AccessibleContext.getAccessibleText() , removePropertyChangeListener sample code for javax.accessibility.AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) , setAccessibleDescription sample code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) , setAccessibleName sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) , setAccessibleParent sample code for javax.accessibility.AccessibleContext.setAccessibleParent(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleContext.setAccessibleParent(javax.accessibility.Accessible)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

MenuItem.AccessibleAWTMenuItem sample code for java.awt.MenuItem.AccessibleAWTMenuItem() definition code for java.awt.MenuItem.AccessibleAWTMenuItem()

protected MenuItem.AccessibleAWTMenuItem()
Method Detail

getAccessibleName sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleName() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleName()

public String sample code for java.lang.String definition code for java.lang.String  getAccessibleName()
Get the accessible name of this object.

Overrides:
getAccessibleName sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleName() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleName() in class MenuComponent.AccessibleAWTMenuComponent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent
Returns:
the localized name of the object -- can be null if this object does not have a name
See Also:
AccessibleContext.setAccessibleName(java.lang.String) sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String)

getAccessibleRole sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleRole() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleRole()

public AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole  getAccessibleRole()
Get the role of this object.

Overrides:
getAccessibleRole sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleRole() definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent.getAccessibleRole() in class MenuComponent.AccessibleAWTMenuComponent sample code for java.awt.MenuComponent.AccessibleAWTMenuComponent definition code for java.awt.MenuComponent.AccessibleAWTMenuComponent
Returns:
an instance of AccessibleRole describing the role of the object
See Also:
AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole

getAccessibleAction sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleAction() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleAction()

public AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction  getAccessibleAction()
Get the AccessibleAction associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleAction interface on behalf of itself.

Overrides:
getAccessibleAction sample code for javax.accessibility.AccessibleContext.getAccessibleAction() definition code for javax.accessibility.AccessibleContext.getAccessibleAction() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
this object
See Also:
AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction

getAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleValue()

public AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue  getAccessibleValue()
Get the AccessibleValue associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleValue interface on behalf of itself.

Overrides:
getAccessibleValue sample code for javax.accessibility.AccessibleContext.getAccessibleValue() definition code for javax.accessibility.AccessibleContext.getAccessibleValue() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
this object
See Also:
AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue

getAccessibleActionCount sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionCount() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionCount()

public int getAccessibleActionCount()
Returns the number of Actions available in this object. The default behavior of a menu item is to have one action.

Specified by:
getAccessibleActionCount sample code for javax.accessibility.AccessibleAction.getAccessibleActionCount() definition code for javax.accessibility.AccessibleAction.getAccessibleActionCount() in interface AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
Returns:
1, the number of Actions in this object

getAccessibleActionDescription sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int) definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int)

public String sample code for java.lang.String definition code for java.lang.String  getAccessibleActionDescription(int i)
Return a description of the specified action of the object.

Specified by:
getAccessibleActionDescription sample code for javax.accessibility.AccessibleAction.getAccessibleActionDescription(int) definition code for javax.accessibility.AccessibleAction.getAccessibleActionDescription(int) in interface AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
Parameters:
i - zero-based index of the actions
Returns:
a String description of the action
See Also:
AccessibleAction.getAccessibleActionCount() sample code for javax.accessibility.AccessibleAction.getAccessibleActionCount() definition code for javax.accessibility.AccessibleAction.getAccessibleActionCount()

doAccessibleAction sample code for java.awt.MenuItem.AccessibleAWTMenuItem.doAccessibleAction(int) definition code for java.awt.MenuItem.AccessibleAWTMenuItem.doAccessibleAction(int)

public boolean doAccessibleAction(int i)
Perform the specified Action on the object

Specified by:
doAccessibleAction sample code for javax.accessibility.AccessibleAction.doAccessibleAction(int) definition code for javax.accessibility.AccessibleAction.doAccessibleAction(int) in interface AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
Parameters:
i - zero-based index of actions
Returns:
true if the action was performed; otherwise false.
See Also:
AccessibleAction.getAccessibleActionCount() sample code for javax.accessibility.AccessibleAction.getAccessibleActionCount() definition code for javax.accessibility.AccessibleAction.getAccessibleActionCount()

getCurrentAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getCurrentAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getCurrentAccessibleValue()

public Number sample code for java.lang.Number definition code for java.lang.Number  getCurrentAccessibleValue()
Get the value of this object as a Number.

Specified by:
getCurrentAccessibleValue sample code for javax.accessibility.AccessibleValue.getCurrentAccessibleValue() definition code for javax.accessibility.AccessibleValue.getCurrentAccessibleValue() in interface AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue
Returns:
An Integer of 0 if this isn't selected or an Integer of 1 if this is selected.
See Also:
AbstractButton.isSelected() sample code for javax.swing.AbstractButton.isSelected() definition code for javax.swing.AbstractButton.isSelected()

setCurrentAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.setCurrentAccessibleValue(java.lang.Number) definition code for java.awt.MenuItem.AccessibleAWTMenuItem.setCurrentAccessibleValue(java.lang.Number)

public boolean setCurrentAccessibleValue(Number sample code for java.lang.Number definition code for java.lang.Number  n)
Set the value of this object as a Number.

Specified by:
setCurrentAccessibleValue sample code for javax.accessibility.AccessibleValue.setCurrentAccessibleValue(java.lang.Number) definition code for javax.accessibility.AccessibleValue.setCurrentAccessibleValue(java.lang.Number) in interface AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue
Returns:
True if the value was set.
See Also:
AccessibleValue.getCurrentAccessibleValue() sample code for javax.accessibility.AccessibleValue.getCurrentAccessibleValue() definition code for javax.accessibility.AccessibleValue.getCurrentAccessibleValue()

getMinimumAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getMinimumAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getMinimumAccessibleValue()

public Number sample code for java.lang.Number definition code for java.lang.Number  getMinimumAccessibleValue()
Get the minimum value of this object as a Number.

Specified by:
getMinimumAccessibleValue sample code for javax.accessibility.AccessibleValue.getMinimumAccessibleValue() definition code for javax.accessibility.AccessibleValue.getMinimumAccessibleValue() in interface AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue
Returns:
An Integer of 0.
See Also:
AccessibleValue.getMaximumAccessibleValue() sample code for javax.accessibility.AccessibleValue.getMaximumAccessibleValue() definition code for javax.accessibility.AccessibleValue.getMaximumAccessibleValue()

getMaximumAccessibleValue sample code for java.awt.MenuItem.AccessibleAWTMenuItem.getMaximumAccessibleValue() definition code for java.awt.MenuItem.AccessibleAWTMenuItem.getMaximumAccessibleValue()

public Number sample code for java.lang.Number definition code for java.lang.Number  getMaximumAccessibleValue()
Get the maximum value of this object as a Number.

Specified by:
getMaximumAccessibleValue sample code for javax.accessibility.AccessibleValue.getMaximumAccessibleValue() definition code for javax.accessibility.AccessibleValue.getMaximumAccessibleValue() in interface AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue
Returns:
An Integer of 0.
See Also:
AccessibleValue.getMinimumAccessibleValue() sample code for javax.accessibility.AccessibleValue.getMinimumAccessibleValue() definition code for javax.accessibility.AccessibleValue.getMinimumAccessibleValue()