|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.accessibility.AccessibleContext
![]()
![]()
![]()
java.awt.MenuComponent.AccessibleAWTMenuComponent
, AccessibleComponent
, AccessibleSelection

, MenuItem.AccessibleAWTMenuItem


protected abstract class MenuComponent.AccessibleAWTMenuComponent

, AccessibleComponent
, AccessibleSelection

Inner class of MenuComponent 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.
The class used to obtain the accessible role for this object.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
MenuComponent.AccessibleAWTMenuComponent
Although the class is abstract, this should be called by all sub-classes. |
| Method Summary | |
|---|---|
void |
addAccessibleSelection
Adds the specified Accessible child of the object
to the object's selection. |
void |
addFocusListener
Adds the specified focus listener to receive focus events from this component. |
void |
clearAccessibleSelection
Clears the selection in the object, so that no children in the object are selected. |
boolean |
contains
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. |
Accessible |
getAccessibleAt
Returns the Accessible child, if one exists,
contained at the local coordinate Point. |
Accessible |
getAccessibleChild
Returns the nth Accessible child of the object. |
int |
getAccessibleChildrenCount
Returns the number of accessible children in the object. |
AccessibleComponent |
getAccessibleComponent
Gets the AccessibleComponent associated with
this object if one exists. |
String |
getAccessibleDescription
Gets the accessible description of this object. |
int |
getAccessibleIndexInParent
Gets the index of this object in its accessible parent. |
String |
getAccessibleName
Gets the accessible name of this object. |
Accessible |
getAccessibleParent
Gets the Accessible parent of this object. |
AccessibleRole |
getAccessibleRole
Gets the role of this object. |
AccessibleSelection |
getAccessibleSelection
Gets the AccessibleSelection associated with this
object which allows its Accessible children to be selected. |
Accessible |
getAccessibleSelection
Returns an Accessible representing the specified
selected child in the object. |
int |
getAccessibleSelectionCount
Returns the number of Accessible children currently selected. |
AccessibleStateSet |
getAccessibleStateSet
Gets the state of this object. |
Color |
getBackground
Gets the background color of this object. |
Rectangle |
getBounds
Gets the bounds of this object in the form of a Rectangle object. |
Cursor |
getCursor
Gets the Cursor of this object. |
Font |
getFont
Gets the Font of this object. |
FontMetrics |
getFontMetrics
Gets the FontMetrics of this object. |
Color |
getForeground
Gets the foreground color of this object. |
Locale |
getLocale
Returns the locale of this object. |
Point |
getLocation
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. |
Point |
getLocationOnScreen
Returns the location of the object on the screen. |
Dimension |
getSize
Returns the size of this object in the form of a Dimension object. |
boolean |
isAccessibleChildSelected
Determines if the current child of this object is selected. |
boolean |
isEnabled
Determines if the object is enabled. |
boolean |
isFocusTraversable
Returns whether this object can accept focus or not. |
boolean |
isShowing
Determines if the object is showing. |
boolean |
isVisible
Determines if the object is visible. |
void |
removeAccessibleSelection
Removes the specified child of the object from the object's selection. |
void |
removeFocusListener
Removes the specified focus listener so it no longer receives focus events from this component. |
void |
requestFocus
Requests focus for this object. |
void |
selectAllAccessibleSelection
Causes every child of the object to be selected if the object supports multiple selections. |
void |
setBackground
Sets the background color of this object. |
void |
setBounds
Sets the bounds of this object in the form of a Rectangle object. |
void |
setCursor
Sets the Cursor of this object. |
void |
setEnabled
Sets the enabled state of the object. |
void |
setFont
Sets the Font of this object. |
void |
setForeground
Sets the foreground color of this object. |
void |
setLocation
Sets the location of the object relative to the parent. |
void |
setSize
Resizes this object. |
void |
setVisible
Sets the visible state of the object. |
Methods inherited from class javax.accessibility.AccessibleContext ![]() |
|---|
addPropertyChangeListener |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |