- All Implemented Interfaces:
- java.io.Serializable, javax.accessibility.AccessibleComponent
- Direct Known Subclasses:
- Panel.AccessibleAWTPanel, ScrollPane.AccessibleAWTScrollPane, Window.AccessibleAWTWindow
protected class Container.AccessibleAWTContainer extends Component.AccessibleAWTComponentInner class of Container 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 container developers.
- Enclosing class:
The class used to obtain the accessible role for this object, as well as implementing many of the methods in the AccessibleContainer interface.
- See Also:
- Serialized Form
Nested Classes Modifier and Type Class and Description AccessibleAWTComponent.AccessibleAWTComponentHandlerFire PropertyChange listener, if one is registered, when shown/hidden.. AccessibleAWTComponent.AccessibleAWTFocusHandlerFire PropertyChange listener, if one is registered, when focus events happen AccessibleAWTContainer.AccessibleContainerHandlerFire
PropertyChangelistener, if one is registered, when children are added or removed.
Fields Modifier and Type Field and Description ACCESSIBLE_ACTION_PROPERTYConstant used to indicate that the supported set of actions has changed. ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTYConstant used to determine when the active descendant of a component has changed. ACCESSIBLE_CARET_PROPERTYConstant used to determine when the accessibleText caret has changed. ACCESSIBLE_CHILD_PROPERTYConstant used to determine when Accessible children are added/removed from the object. ACCESSIBLE_COMPONENT_BOUNDS_CHANGEDPropertyChangeEvent which indicates that a change has occurred in a component's bounds. ACCESSIBLE_DESCRIPTION_PROPERTYConstant used to determine when the accessibleDescription property has changed. ACCESSIBLE_HYPERTEXT_OFFSETConstant used to indicate that a hypertext element has received focus. ACCESSIBLE_INVALIDATE_CHILDRENPropertyChangeEvent which indicates that a significant change has occurred to the children of a component like a tree or text. ACCESSIBLE_NAME_PROPERTYConstant used to determine when the accessibleName property has changed. ACCESSIBLE_SELECTION_PROPERTYConstant used to determine when the accessibleSelection has changed. ACCESSIBLE_STATE_PROPERTYConstant used to determine when the accessibleStateSet property has changed. ACCESSIBLE_TABLE_CAPTION_CHANGEDConstant 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. ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGEDConstant 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. ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGEDConstant 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. ACCESSIBLE_TABLE_MODEL_CHANGEDConstant used to indicate that table data has changed. ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGEDConstant 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. ACCESSIBLE_TABLE_ROW_HEADER_CHANGEDConstant 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. ACCESSIBLE_TABLE_SUMMARY_CHANGEDConstant 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. ACCESSIBLE_TEXT_ATTRIBUTES_CHANGEDPropertyChangeEvent which indicates that text attributes have changed. ACCESSIBLE_TEXT_PROPERTYPropertyChangeEvent which indicates that text has changed. ACCESSIBLE_VALUE_PROPERTYConstant used to determine when the accessibleValue property has changed. ACCESSIBLE_VISIBLE_DATA_PROPERTYConstant used to determine when the visual appearance of the object has changed. accessibleAWTComponentHandler accessibleAWTFocusHandler accessibleContainerHandler accessibleDescriptionA localized String containing the description of the object. accessibleNameA localized String containing the name of the object. accessibleParentThe accessible parent of this object.
Methods Modifier and Type Method and Description addFocusListenerAdds the specified focus listener to receive focus events from this component. addPropertyChangeListenerAdds a PropertyChangeListener to the listener list. containsChecks 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. firePropertyChangeSupport for reporting bound property changes. getAccessibleActionGets the AccessibleAction associated with this object that supports one or more actions. getAccessibleAtReturns the
Accessiblechild, if one exists, contained at the local coordinate
getAccessibleChildReturns the nth
Accessiblechild of the object.
getAccessibleChildrenCountReturns the number of accessible children in the object. getAccessibleComponentGets the
AccessibleComponentassociated with this object if one exists.
getAccessibleDescriptionGets the accessible description of this object. getAccessibleEditableTextGets the AccessibleEditableText associated with this object presenting editable text on the display. getAccessibleIconGets the AccessibleIcons associated with an object that has one or more associated icons getAccessibleIndexInParentGets the index of this object in its accessible parent. getAccessibleNameGets the accessible name of this object. getAccessibleParentGets the
Accessibleparent of this object.
getAccessibleRelationSetGets the AccessibleRelationSet associated with an object getAccessibleRoleGets the role of this object. getAccessibleSelectionGets the AccessibleSelection associated with this object which allows its Accessible children to be selected. getAccessibleStateSetGets the state of this object. getAccessibleTableGets the AccessibleTable associated with an object getAccessibleTextGets the AccessibleText associated with this object presenting text on the display. getAccessibleValueGets the AccessibleValue associated with this object that supports a Numerical value. getBackgroundGets the background color of this object. getBoundsGets the bounds of this object in the form of a Rectangle object. getCursorGets the
Cursorof this object.
Fontof this object.
FontMetricsof this object.
getForegroundGets the foreground color of this object. getLocaleReturns the locale of this object. getLocationGets 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. getLocationOnScreenReturns the location of the object on the screen. getSizeReturns the size of this object in the form of a
isEnabledDetermines if the object is enabled. isFocusTraversableReturns whether this object can accept focus or not. isShowingDetermines if the object is showing. isVisibleDetermines if the object is visible. removeFocusListenerRemoves the specified focus listener so it no longer receives focus events from this component. removePropertyChangeListenerRemove a PropertyChangeListener from the listener list. requestFocusRequests focus for this object. setAccessibleDescriptionSets the accessible description of this object. setAccessibleNameSets the localized accessible name of this object. setAccessibleParentSets the Accessible parent of this object. setBackgroundSets the background color of this object. setBoundsSets the bounds of this object in the form of a
Cursorof this object.
setEnabledSets the enabled state of the object. setFontSets the
Fontof this object.
setForegroundSets the foreground color of this object. setLocationSets the location of the object relative to the parent. setSizeResizes this object so that it has width and height. setVisibleSets the visible state of the object.