API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. JMenu.AccessibleJMenu View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AccessibleContext
          Component.AccessibleAWTComponent
              Container.AccessibleAWTContainer
                  JComponent.AccessibleJComponent
                      AbstractButton.AccessibleAbstractButton
                          JMenuItem.AccessibleJMenuItem
                              JMenu.AccessibleJMenu
Implements
 AccessibleSelection
Subclasses
Description
protected class JMenu.AccessibleJMenu
  This class implements accessibility support for the JMenu class.
See also:   
Constructors
protected JMenu.AccessibleJMenu ()
Methods
Hide/Show inherited methods
public void addAccessibleSelection (int i) [Specified in AccessibleSelection]
  Selects the ith menu in the menu.
public void addFocusListener (FocusListener l) [Inherited From Component.AccessibleAWTComponent]
  Adds the specified focus listener to receive focus events from this component.
public void addPropertyChangeListener (PropertyChangeListener listener) [Inherited From JComponent.AccessibleJComponent]
  Adds a PropertyChangeListener to the listener list.
public void clearAccessibleSelection () [Specified in AccessibleSelection]
  Clears the selection in the object, so that nothing in the object is selected.
public boolean contains (Point p) [Inherited From Component.AccessibleAWTComponent]
  Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
public boolean doAccessibleAction (int i) [Inherited From AbstractButton.AccessibleAbstractButton]
  Perform the specified Action on the object
public void firePropertyChange (String propertyName, Object oldValue, Object newValue) [Inherited From AccessibleContext]
  Support for reporting bound property changes.
public AccessibleAction getAccessibleAction () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the AccessibleAction associated with this object.
public int getAccessibleActionCount () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the number of Actions available in this object.
public String getAccessibleActionDescription (int i) [Inherited From AbstractButton.AccessibleAbstractButton]
  Return a description of the specified action of the object.
public Accessible getAccessibleAt (Point p) [Inherited From Container.AccessibleAWTContainer]
  Returns the Accessible child, if one exists, contained at the local coordinate Point.
public Accessible getAccessibleChild (int i) [Overrides JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Returns the nth Accessible child of the object.
public int getAccessibleChildrenCount () [Overrides JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Returns the number of accessible children in the object.
public AccessibleComponent getAccessibleComponent () [Inherited From Component.AccessibleAWTComponent]
  Gets the AccessibleComponent associated with this object if one exists.
public String getAccessibleDescription () [Inherited From JComponent.AccessibleJComponent]
  Gets the accessible description of this object.
public AccessibleEditableText getAccessibleEditableText () [Inherited From AccessibleContext]
  Gets the AccessibleEditableText associated with this object presenting editable text on the display.
pack-private AccessibleExtendedComponent getAccessibleExtendedComponent () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the AccessibleExtendedComponent
public AccessibleIcon getAccessibleIcon () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the AccessibleIcons associated with this object if one or more exist.
public int getAccessibleIndexInParent () [Inherited From Component.AccessibleAWTComponent] [Specified in AccessibleContext]
  Gets the index of this object in its accessible parent.
public AccessibleKeyBinding getAccessibleKeyBinding () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns key bindings associated with this object
public String getAccessibleName () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the accessible name of this object.
public Accessible getAccessibleParent () [Inherited From Component.AccessibleAWTComponent]
  Gets the Accessible parent of this object.
public AccessibleRelationSet getAccessibleRelationSet () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the AccessibleRelationSet associated with this object if one exists.
public AccessibleRole getAccessibleRole () [Overrides JMenuItem.AccessibleJMenuItem] [Specified in AccessibleContext]
  Get the role of this object.
public AccessibleSelection getAccessibleSelection () [Overrides AccessibleContext]
  Get the AccessibleSelection associated with this object.
public Accessible getAccessibleSelection (int i) [Specified in AccessibleSelection]
Returns the currently selected sub-menu if one is selected, otherwise null (there can only be one selection, and it can only be a sub-menu, as otherwise menu items don't remain selected).
public int getAccessibleSelectionCount () [Specified in AccessibleSelection]
  Returns 1 if a sub-menu is currently selected in this menu.
public AccessibleStateSet getAccessibleStateSet () [Inherited From AbstractButton.AccessibleAbstractButton] [Specified in AccessibleContext]
  Get the state set of this object.
public AccessibleTable getAccessibleTable () [Inherited From AccessibleContext]
  Gets the AccessibleTable associated with an object
public AccessibleText getAccessibleText () [Inherited From AbstractButton.AccessibleAbstractButton]
public AccessibleValue getAccessibleValue () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the AccessibleValue associated with this object.
public String getAfterIndex (int part, int index) [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the String after a given index.
public String getAtIndex (int part, int index) [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the String at a given index.
public Color getBackground () [Inherited From Component.AccessibleAWTComponent]
  Gets the background color of this object.
public String getBeforeIndex (int part, int index) [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the String before a given index.
protected String getBorderTitle (Border b) [Inherited From JComponent.AccessibleJComponent]
  Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title.
public Rectangle getBounds () [Inherited From Component.AccessibleAWTComponent]
  Gets the bounds of this object in the form of a Rectangle object.
public int getCaretPosition () [Inherited From AbstractButton.AccessibleAbstractButton]
  Return the zero-based offset of the caret.
public AttributeSet getCharacterAttribute (int i) [Inherited From AbstractButton.AccessibleAbstractButton]
  Return the AttributeSet for a given character at a given index
public Rectangle getCharacterBounds (int i) [Inherited From AbstractButton.AccessibleAbstractButton]
  Determine the bounding box of the character at the given index into the string.
public int getCharCount () [Inherited From AbstractButton.AccessibleAbstractButton]
  Return the number of characters (valid indicies)
public Number getCurrentAccessibleValue () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the value of this object as a Number.
public Cursor getCursor () [Inherited From Component.AccessibleAWTComponent]
  Gets the Cursor of this object.
public Font getFont () [Inherited From Component.AccessibleAWTComponent]
  Gets the Font of this object.
public FontMetrics getFontMetrics (Font f) [Inherited From Component.AccessibleAWTComponent]
  Gets the FontMetrics of this object.
public Color getForeground () [Inherited From Component.AccessibleAWTComponent]
  Gets the foreground color of this object.
public int getIndexAtPoint (Point p) [Inherited From AbstractButton.AccessibleAbstractButton]
  Given a point in local coordinates, return the zero-based index of the character under that Point.
public Locale getLocale () [Inherited From Component.AccessibleAWTComponent] [Specified in AccessibleContext]
  Returns the locale of this object.
public Point getLocation () [Inherited From Component.AccessibleAWTComponent]
  Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
public Point getLocationOnScreen () [Inherited From Component.AccessibleAWTComponent]
  Returns the location of the object on the screen.
public Number getMaximumAccessibleValue () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the maximum value of this object as a Number.
public Number getMinimumAccessibleValue () [Inherited From AbstractButton.AccessibleAbstractButton]
  Get the minimum value of this object as a Number.
public String getSelectedText () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the portion of the text that is selected.
public int getSelectionEnd () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the end offset within the selected text.
public int getSelectionStart () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the start offset within the selected text.
public Dimension getSize () [Inherited From Component.AccessibleAWTComponent]
  Returns the size of this object in the form of a Dimension object.
public String getTitledBorderText () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the titled border text
public String getToolTipText () [Inherited From AbstractButton.AccessibleAbstractButton]
  Returns the tool tip text
public boolean isAccessibleChildSelected (int i) [Specified in AccessibleSelection]
  Returns true if the current child of this object is selected (that is, if this child is a popped-up submenu).
public boolean isEnabled () [Inherited From Component.AccessibleAWTComponent]
  Determines if the object is enabled.
public boolean isFocusTraversable () [Inherited From Component.AccessibleAWTComponent]
  Returns whether this object can accept focus or not.
public boolean isShowing () [Inherited From Component.AccessibleAWTComponent]
  Determines if the object is showing.
public boolean isVisible () [Inherited From Component.AccessibleAWTComponent]
  Determines if the object is visible.
public void removeAccessibleSelection (int i) [Specified in AccessibleSelection]
  Removes the nth item from the selection.
public void removeFocusListener (FocusListener l) [Inherited From Component.AccessibleAWTComponent]
  Removes the specified focus listener so it no longer receives focus events from this component.
public void removePropertyChangeListener (PropertyChangeListener listener) [Inherited From JComponent.AccessibleJComponent]
  Removes a PropertyChangeListener from the listener list.
public void requestFocus () [Inherited From Component.AccessibleAWTComponent]
Requests focus for this object.
public void selectAllAccessibleSelection () [Specified in AccessibleSelection]
  Normally causes every selected item in the object to be selected if the object supports multiple selections.
public void setAccessibleDescription (String s) [Inherited From AccessibleContext]
  Sets the accessible description of this object.
public void setAccessibleName (String s) [Inherited From AccessibleContext]
  Sets the localized accessible name of this object.
public void setAccessibleParent (Accessible a) [Inherited From AccessibleContext]
  Sets the Accessible parent of this object.
public void setBackground (Color c) [Inherited From Component.AccessibleAWTComponent]
  Sets the background color of this object.
public void setBounds (Rectangle r) [Inherited From Component.AccessibleAWTComponent]
  Sets the bounds of this object in the form of a Rectangle object.
public boolean setCurrentAccessibleValue (Number n) [Inherited From AbstractButton.AccessibleAbstractButton]
  Set the value of this object as a Number.
public void setCursor (Cursor cursor) [Inherited From Component.AccessibleAWTComponent]
  Sets the Cursor of this object.
public void setEnabled (boolean b) [Inherited From Component.AccessibleAWTComponent]
  Sets the enabled state of the object.
public void setFont (Font f) [Inherited From Component.AccessibleAWTComponent]
  Sets the Font of this object.
public void setForeground (Color c) [Inherited From Component.AccessibleAWTComponent]
  Sets the foreground color of this object.
public void setLocation (Point p) [Inherited From Component.AccessibleAWTComponent]
  Sets the location of the object relative to the parent.
public void setSize (Dimension d) [Inherited From Component.AccessibleAWTComponent]
  Resizes this object so that it has width and height.
public void setVisible (boolean b) [Inherited From Component.AccessibleAWTComponent]
  Sets the visible state of the object.
public void stateChanged (ChangeEvent e) [Inherited From JMenuItem.AccessibleJMenuItem]
Supports the change listener interface and fires property changes.
Fields
Hide/Show inherited fields
publicfinalstatic String ACCESSIBLE_ACTION_PROPERTY = "accessibleActionProperty" [Inherited From AccessibleContext]
  Constant used to indicate that the supported set of actions has changed.
publicfinalstatic String ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY = "AccessibleActiveDescendant" [Inherited From AccessibleContext]
  Constant used to determine when the active descendant of a component has changed.
publicfinalstatic String ACCESSIBLE_CARET_PROPERTY = "AccessibleCaret" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleText caret has changed.
publicfinalstatic String ACCESSIBLE_CHILD_PROPERTY = "AccessibleChild" [Inherited From AccessibleContext]
  Constant used to determine when Accessible children are added/removed from the object.
publicfinalstatic String ACCESSIBLE_COMPONENT_BOUNDS_CHANGED = "accessibleComponentBoundsChanged" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that a change has occurred in a component's bounds.
publicfinalstatic String ACCESSIBLE_DESCRIPTION_PROPERTY = "AccessibleDescription" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleDescription property has changed.
publicfinalstatic String ACCESSIBLE_HYPERTEXT_OFFSET = "AccessibleHypertextOffset" [Inherited From AccessibleContext]
  Constant used to indicate that a hypertext element has received focus.
publicfinalstatic String ACCESSIBLE_INVALIDATE_CHILDREN = "accessibleInvalidateChildren" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that a significant change has occurred to the children of a component like a tree or text.
publicfinalstatic String ACCESSIBLE_NAME_PROPERTY = "AccessibleName" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleName property has changed.
publicfinalstatic String ACCESSIBLE_SELECTION_PROPERTY = "AccessibleSelection" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleSelection has changed.
publicfinalstatic String ACCESSIBLE_STATE_PROPERTY = "AccessibleState" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleStateSet property has changed.
publicfinalstatic String ACCESSIBLE_TABLE_CAPTION_CHANGED = "accessibleTableCaptionChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the table caption has changed The old value in the PropertyChangeEvent will be an Accessible representing the previous table caption and the new value will be an Accessible representing the new table caption.
publicfinalstatic String ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED = "accessibleTableColumnDescriptionChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the column description has changed The old value in the PropertyChangeEvent will be null and the new value will be an Integer representing the column index.
publicfinalstatic String ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED = "accessibleTableColumnHeaderChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the column header has changed The old value in the PropertyChangeEvent will be null and the new value will be an AccessibleTableModelChange representing the header change.
publicfinalstatic String ACCESSIBLE_TABLE_MODEL_CHANGED = "accessibleTableModelChanged" [Inherited From AccessibleContext]
  Constant used to indicate that table data has changed.
publicfinalstatic String ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED = "accessibleTableRowDescriptionChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the row description has changed The old value in the PropertyChangeEvent will be null and the new value will be an Integer representing the row index.
publicfinalstatic String ACCESSIBLE_TABLE_ROW_HEADER_CHANGED = "accessibleTableRowHeaderChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the row header has changed The old value in the PropertyChangeEvent will be null and the new value will be an AccessibleTableModelChange representing the header change.
publicfinalstatic String ACCESSIBLE_TABLE_SUMMARY_CHANGED = "accessibleTableSummaryChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the table summary has changed The old value in the PropertyChangeEvent will be an Accessible representing the previous table summary and the new value will be an Accessible representing the new table summary.
publicfinalstatic String ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED = "accessibleTextAttributesChanged" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that text attributes have changed.
publicfinalstatic String ACCESSIBLE_TEXT_PROPERTY = "AccessibleText" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that text has changed.
publicfinalstatic String ACCESSIBLE_VALUE_PROPERTY = "AccessibleValue" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleValue property has changed.
publicfinalstatic String ACCESSIBLE_VISIBLE_DATA_PROPERTY = "AccessibleVisibleData" [Inherited From AccessibleContext]
  Constant used to determine when the visual appearance of the object has changed.
protected ComponentListener accessibleAWTComponentHandler [Inherited From Component.AccessibleAWTComponent]
protected FocusListener accessibleAWTFocusHandler [Inherited From Component.AccessibleAWTComponent]
protected ContainerListener accessibleContainerHandler [Inherited From JComponent.AccessibleJComponent]
protected String accessibleDescription [Inherited From AccessibleContext]
  A localized String containing the description of the object.
protected FocusListener accessibleFocusHandler [Inherited From JComponent.AccessibleJComponent]
protected String accessibleName [Inherited From AccessibleContext]
  A localized String containing the name of the object.
protected Accessible accessibleParent [Inherited From AccessibleContext]
  The accessible parent of this object.
Nested Classes
  AbstractButton.AccessibleAbstractButton.ButtonKeyBinding
  JComponent.AccessibleJComponent.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered, when children added/removed.
  JComponent.AccessibleJComponent.AccessibleFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happen
  Container.AccessibleAWTContainer.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered, when children are added or removed.
  Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
Fire PropertyChange listener, if one is registered, when shown/hidden..
  Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happen
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar