API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. JMenuBar.AccessibleJMenuBar View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AccessibleContext
          Component.AccessibleAWTComponent
              Container.AccessibleAWTContainer
                  JComponent.AccessibleJComponent
                      JMenuBar.AccessibleJMenuBar
Implements
 AccessibleSelection
Subclasses
Description
protected class JMenuBar.AccessibleJMenuBar
  This class implements accessibility support for the JMenuBar class.
See also:   
Constructors
protected JMenuBar.AccessibleJMenuBar ()
Methods
Hide/Show inherited methods
public void addAccessibleSelection (int i) [Specified in AccessibleSelection]
  Selects the nth menu in the menu bar, forcing it to pop up.
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 void firePropertyChange (String propertyName, Object oldValue, Object newValue) [Inherited From AccessibleContext]
  Support for reporting bound property changes.
public AccessibleAction getAccessibleAction () [Inherited From AccessibleContext]
  Gets the AccessibleAction associated with this object that supports one or more actions.
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) [Inherited From JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Returns the nth Accessible child of the object.
public int getAccessibleChildrenCount () [Inherited From 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 JComponent.AccessibleJComponent]
  Returns the AccessibleExtendedComponent
public AccessibleIcon getAccessibleIcon () [Inherited From AccessibleContext]
  Gets the AccessibleIcons associated with an object that has one or more associated icons
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 JComponent.AccessibleJComponent]
  Returns key bindings associated with this object
public String getAccessibleName () [Inherited From JComponent.AccessibleJComponent]
  Gets 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 AccessibleContext]
  Gets the AccessibleRelationSet associated with an object
public AccessibleRole getAccessibleRole () [Overrides JComponent.AccessibleJComponent] [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 menu if one is selected, otherwise null.
public int getAccessibleSelectionCount () [Specified in AccessibleSelection]
  Returns 1 if a menu is currently selected in this menu bar.
public AccessibleStateSet getAccessibleStateSet () [Overrides JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Get the accessible state set of this object.
public AccessibleTable getAccessibleTable () [Inherited From AccessibleContext]
  Gets the AccessibleTable associated with an object
public AccessibleText getAccessibleText () [Inherited From AccessibleContext]
  Gets the AccessibleText associated with this object presenting text on the display.
public AccessibleValue getAccessibleValue () [Inherited From AccessibleContext]
  Gets the AccessibleValue associated with this object that supports a Numerical value.
public Color getBackground () [Inherited From Component.AccessibleAWTComponent]
  Gets the background color of this object.
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 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 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 Dimension getSize () [Inherited From Component.AccessibleAWTComponent]
  Returns the size of this object in the form of a Dimension object.
public String getTitledBorderText () [Inherited From JComponent.AccessibleJComponent]
  Returns the titled border text
public String getToolTipText () [Inherited From JComponent.AccessibleJComponent]
  Returns the tool tip text
public boolean isAccessibleChildSelected (int i) [Specified in AccessibleSelection]
  Returns true if the current child of this object is selected.
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 selected item in the object from the object's 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 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.
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
  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