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

, Button.AccessibleAWTButton
, Canvas.AccessibleAWTCanvas
, Checkbox.AccessibleAWTCheckbox
, Choice.AccessibleAWTChoice
, Container.AccessibleAWTContainer
, Label.AccessibleAWTLabel
, List.AccessibleAWTList
, List.AccessibleAWTList.AccessibleAWTListChild
, Scrollbar.AccessibleAWTScrollBar
, TextComponent.AccessibleAWTTextComponent


protected abstract class Component.AccessibleAWTComponent

, AccessibleComponent

Inner class of Component 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 component developers.
The class used to obtain the accessible role for this object.
| Nested Class Summary | |
|---|---|
protected class |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
Fire PropertyChange listener, if one is registered, when shown/hidden.. |
protected class |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happen |
| Field Summary | |
|---|---|
protected ComponentListener |
accessibleAWTComponentHandler
|
protected FocusListener |
accessibleAWTFocusHandler
|
| Constructor Summary | |
|---|---|
protected |
Component.AccessibleAWTComponent
Though the class is abstract, this should be called by all sub-classes. |
| Method Summary | |
|---|---|
void |
addFocusListener
Adds the specified focus listener to receive focus events from this component. |
void |
addPropertyChangeListener
Adds a PropertyChangeListener to the listener list. |
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. |
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 |
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 |
removeFocusListener
Removes the specified focus listener so it no longer receives focus events from this component. |
void |
removePropertyChangeListener
Remove a PropertyChangeListener from the listener list. |
void |
requestFocus
Requests focus for this object. |
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 so that it has width width and height. |
void |
setVisible
Sets the visible state of the object. |
Methods inherited from class javax.accessibility.AccessibleContext ![]() |
|---|
firePropertyChange |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |