API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. MenuComponent.AccessibleAWTMenuComponent View Source
Author(s)
Since
1.3
Version
Serial
Hierarchy
 Object
      AccessibleContext
          MenuComponent.AccessibleAWTMenuComponent
Implements
 Serializable
 AccessibleComponent
 AccessibleSelection
Subclasses
Description
protectedabstract abstract class MenuComponent.AccessibleAWTMenuComponent
  Inner class of MenuComponent used to provide default support for accessibility.
See also:   
Constructors
protected MenuComponent.AccessibleAWTMenuComponent ()
Although the class is abstract, this should be called by all sub-classes.
Methods
Hide/Show inherited methods
public void addAccessibleSelection (int i) [Specified in AccessibleSelection]
  Adds the specified Accessible child of the object to the object's selection.
public void addFocusListener (FocusListener l) [Specified in AccessibleComponent]
  Adds the specified focus listener to receive focus events from this component.
public void addPropertyChangeListener (PropertyChangeListener listener) [Inherited From AccessibleContext]
  Adds a PropertyChangeListener to the listener list.
public void clearAccessibleSelection () [Specified in AccessibleSelection]
Clears the selection in the object, so that no children in the object are selected.
public boolean contains (Point p) [Specified in AccessibleComponent]
  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) [Specified in AccessibleComponent]
  Returns the Accessible child, if one exists, contained at the local coordinate Point.
public Accessible getAccessibleChild (int i) [Specified in AccessibleContext]
  Returns the nth Accessible child of the object.
public int getAccessibleChildrenCount () [Specified in AccessibleContext]
  Returns the number of accessible children in the object.
public AccessibleComponent getAccessibleComponent () [Overrides AccessibleContext]
  Gets the AccessibleComponent associated with this object if one exists.
public String getAccessibleDescription () [Overrides AccessibleContext]
  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.
public AccessibleIcon getAccessibleIcon () [Inherited From AccessibleContext]
  Gets the AccessibleIcons associated with an object that has one or more associated icons
public int getAccessibleIndexInParent () [Specified in AccessibleContext]
  Gets the index of this object in its accessible parent.
public String getAccessibleName () [Overrides AccessibleContext]
  Gets the accessible name of this object.
public Accessible getAccessibleParent () [Overrides AccessibleContext]
  Gets the Accessible parent of this object.
public AccessibleRelationSet getAccessibleRelationSet () [Inherited From AccessibleContext]
  Gets the AccessibleRelationSet associated with an object
public AccessibleRole getAccessibleRole () [Specified in AccessibleContext]
  Gets the role of this object.
public AccessibleSelection getAccessibleSelection () [Overrides AccessibleContext]
  Gets the AccessibleSelection associated with this object which allows its Accessible children to be selected.
public Accessible getAccessibleSelection (int i) [Specified in AccessibleSelection]
  Returns an Accessible representing the specified selected child in the object.
public int getAccessibleSelectionCount () [Specified in AccessibleSelection]
  Returns the number of Accessible children currently selected.
public AccessibleStateSet getAccessibleStateSet () [Specified in AccessibleContext]
  Gets the state 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 () [Specified in AccessibleComponent]
  Gets the background color of this object.
public Rectangle getBounds () [Specified in AccessibleComponent]
  Gets the bounds of this object in the form of a Rectangle object.
public Cursor getCursor () [Specified in AccessibleComponent]
  Gets the Cursor of this object.
public Font getFont () [Specified in AccessibleComponent]
  Gets the Font of this object.
public FontMetrics getFontMetrics (Font f) [Specified in AccessibleComponent]
  Gets the FontMetrics of this object.
public Color getForeground () [Specified in AccessibleComponent]
  Gets the foreground color of this object.
public Locale getLocale () [Specified in AccessibleContext]
  Returns the locale of this object.
public Point getLocation () [Specified in AccessibleComponent]
  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 () [Specified in AccessibleComponent]
  Returns the location of the object on the screen.
public Dimension getSize () [Specified in AccessibleComponent]
  Returns the size of this object in the form of a Dimension object.
public boolean isAccessibleChildSelected (int i) [Specified in AccessibleSelection]
  Determines if the current child of this object is selected.
public boolean isEnabled () [Specified in AccessibleComponent]
  Determines if the object is enabled.
public boolean isFocusTraversable () [Specified in AccessibleComponent]
  Returns whether this object can accept focus or not.
public boolean isShowing () [Specified in AccessibleComponent]
  Determines if the object is showing.
public boolean isVisible () [Specified in AccessibleComponent]
  Determines if the object is visible.
public void removeAccessibleSelection (int i) [Specified in AccessibleSelection]
  Removes the specified child of the object from the object's selection.
public void removeFocusListener (FocusListener l) [Specified in AccessibleComponent]
  Removes the specified focus listener so it no longer receives focus events from this component.
public void removePropertyChangeListener (PropertyChangeListener listener) [Inherited From AccessibleContext]
  Removes a PropertyChangeListener from the listener list.
public void requestFocus () [Specified in AccessibleComponent]
Requests focus for this object.
public void selectAllAccessibleSelection () [Specified in AccessibleSelection]
Causes every child of 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) [Specified in AccessibleComponent]
  Sets the background color of this object.
public void setBounds (Rectangle r) [Specified in AccessibleComponent]
  Sets the bounds of this object in the form of a Rectangle object.
public void setCursor (Cursor cursor) [Specified in AccessibleComponent]
  Sets the Cursor of this object.
public void setEnabled (boolean b) [Specified in AccessibleComponent]
  Sets the enabled state of the object.
public void setFont (Font f) [Specified in AccessibleComponent]
  Sets the Font of this object.
public void setForeground (Color c) [Specified in AccessibleComponent]
  Sets the foreground color of this object.
public void setLocation (Point p) [Specified in AccessibleComponent]
Sets the location of the object relative to the parent.
public void setSize (Dimension d) [Specified in AccessibleComponent]
  Resizes this object.
public void setVisible (boolean b) [Specified in AccessibleComponent]
  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 String accessibleDescription [Inherited From AccessibleContext]
  A localized String containing the description of the object.
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
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar