javax.accessibility
public abstract class AccessibleContext extends Object
Since: 1.2
UNKNOWN: updated to 1.4
| Field Summary | |
|---|---|
| static String | ACCESSIBLE_ACTION_PROPERTY
Constant used when supported set of actions has changed. |
| static String | ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY
Constant used when active descendent of a component has changed. |
| static String | ACCESSIBLE_CARET_PROPERTY
Constant used when the accessibleText caret has changed. |
| static String | ACCESSIBLE_CHILD_PROPERTY
Constant used when children are added or removed. |
| static String | ACCESSIBLE_COMPONENT_BOUNDS_CHANGED
Constant used when a component's bounds have changed. |
| static String | ACCESSIBLE_DESCRIPTION_PROPERTY
Constant used when the accessible description has changed. |
| static String | ACCESSIBLE_HYPERTEXT_OFFSET
Constant used when a hypertext element received focus. |
| static String | ACCESSIBLE_INVALIDATE_CHILDREN
Constant used when the state of child objects changes. |
| static String | ACCESSIBLE_NAME_PROPERTY
Constant used when the accessible name has changed. |
| static String | ACCESSIBLE_SELECTION_PROPERTY
Constant used when the accessibleSelection has changed. |
| static String | ACCESSIBLE_STATE_PROPERTY
Constant used when the accessibleStateSet has changed. |
| static String | ACCESSIBLE_TABLE_CAPTION_CHANGED
Constant used when the accessible table caption has changed. |
| static String | ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED
Constant used when the accessible table column description has changed.
|
| static String | ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED
Constant used when the accessible table column header has changed. |
| static String | ACCESSIBLE_TABLE_MODEL_CHANGED
Constant used when the accessible table model has changed. |
| static String | ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED
Constant used when the accessible table row description has changed. |
| static String | ACCESSIBLE_TABLE_ROW_HEADER_CHANGED
Constant used when the accessible table row header has changed. |
| static String | ACCESSIBLE_TABLE_SUMMARY_CHANGED
Constant used when the accessible table summary has changed. |
| static String | ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED
Constant used when the attributes of some text have changed.
|
| static String | ACCESSIBLE_TEXT_PROPERTY
Constant used when the accessibleText has changed. |
| static String | ACCESSIBLE_VALUE_PROPERTY
Constant used when the accessibleValue has changed. |
| static String | ACCESSIBLE_VISIBLE_DATA_PROPERTY
Constant used when the visible data has changed. |
| protected String | accessibleDescription
A localized string describing this object.
|
| protected String | accessibleName
A localized string naming this object.
|
| protected Accessible | accessibleParent
The accessible parent of this object.
|
| Constructor Summary | |
|---|---|
| AccessibleContext()
Default constructor. | |
| Method Summary | |
|---|---|
| void | addPropertyChangeListener(PropertyChangeListener l)
Add a PropertyChangeListener to the listener list. |
| void | firePropertyChange(String name, Object oldValue, Object newValue)
Fire an event to report property changes. |
| AccessibleAction | getAccessibleAction()
Get any supported accessible actions. |
| abstract Accessible | getAccessibleChild(int i)
Returns the specified accessible chile.
|
| abstract int | getAccessibleChildrenCount()
Returns the number of accessible children of this object.
|
| AccessibleComponent | getAccessibleComponent()
Get any supported accessible component. |
| String | getAccessibleDescription()
Get the localized description of the object. |
| AccessibleEditableText | getAccessibleEditableText()
Get any supported accessible editable text. |
| AccessibleIcon[] | getAccessibleIcon()
Get all supported accessible icons. |
| abstract int | getAccessibleIndexInParent()
Gets the index of this object within its accessible parent.
|
| String | getAccessibleName()
Get the localized name of the object. |
| Accessible | getAccessibleParent()
Return the accessible parent of this object.
|
| AccessibleRelationSet | getAccessibleRelationSet()
Get any supported accessible relation set. |
| abstract AccessibleRole | getAccessibleRole()
Gets the role of this object. |
| AccessibleSelection | getAccessibleSelection()
Get any supported accessible selection. |
| abstract AccessibleStateSet | getAccessibleStateSet()
Gets the state set of this object. |
| AccessibleTable | getAccessibleTable()
Get any supported accessible table. |
| AccessibleText | getAccessibleText()
Get any supported accessible text. |
| AccessibleValue | getAccessibleValue()
Get any supported accessible value. |
| abstract Locale | getLocale()
Gets the component locale, deferring to the parent if one is not declared.
|
| void | removePropertyChangeListener(PropertyChangeListener l)
Remove a PropertyChangeListener from the listener list.
|
| void | setAccessibleDescription(String s)
Set the localized name of the object. |
| void | setAccessibleName(String s)
Set the localized name of the object. |
| void | setAccessibleParent(Accessible a)
Sets the accessible parent of this object. |
See Also: AccessibleAction
See Also: addPropertyChangeListener
See Also: addPropertyChangeListener
See Also: addPropertyChangeListener
Since: 1.5
See Also: getAccessibleDescription addPropertyChangeListener
See Also: AccessibleHyperlink
Since: 1.5
See Also: getAccessibleName addPropertyChangeListener
See Also: getAccessibleStateSet AccessibleState AccessibleStateSet addPropertyChangeListener
See Also: Accessible AccessibleTable
See Also: AccessibleTable
See Also: AccessibleTable AccessibleTableModelChange
See Also: AccessibleTable AccessibleTableModelChange
See Also: AccessibleTable
See Also: AccessibleTable AccessibleTableModelChange
See Also: Accessible AccessibleTable
Since: 1.5
See Also: getAccessibleText addPropertyChangeListener
See Also: getAccessibleValue addPropertyChangeListener
See Also: addPropertyChangeListener
See Also: getAccessibleName setAccessibleName
See Also: getAccessibleParent setAccessibleParent
Parameters: l the listener to add
See Also: ACCESSIBLE_NAME_PROPERTY ACCESSIBLE_DESCRIPTION_PROPERTY ACCESSIBLE_STATE_PROPERTY ACCESSIBLE_VALUE_PROPERTY ACCESSIBLE_SELECTION_PROPERTY ACCESSIBLE_TEXT_PROPERTY ACCESSIBLE_VISIBLE_DATA_PROPERTY removePropertyChangeListener
Parameters: name the property name oldValue the prior value newValue the updated value
See Also: PropertyChangeSupport addPropertyChangeListener removePropertyChangeListener ACCESSIBLE_NAME_PROPERTY ACCESSIBLE_DESCRIPTION_PROPERTY ACCESSIBLE_STATE_PROPERTY ACCESSIBLE_VALUE_PROPERTY ACCESSIBLE_SELECTION_PROPERTY ACCESSIBLE_TEXT_PROPERTY ACCESSIBLE_VISIBLE_DATA_PROPERTY
Returns: the supported action, or null
See Also: AccessibleAction
Parameters: i the 0-based index to get
Returns: the child, or null if out of bounds
See Also: getAccessibleChildrenCount
Returns: the number of accessible children
See Also: AccessibleContext
Returns: the supported component, or null
See Also: AccessibleComponent
Returns: the accessible object's description, or null if there is none
See Also: setAccessibleDescription
Returns: the supported editable text, or null
See Also: AccessibleEditableText
Returns: the supported icons, or null
See Also: AccessibleIcon
Returns: the 0-based index, or -1 if there is no accessible parent
See Also: getAccessibleParent getAccessibleChildrenCount AccessibleContext
Returns: the accessible object's name, or null if it is unnamed
See Also: setAccessibleName
Returns: the accessible parent, or null if there is none
Returns: the supported relation set, or null
See Also: AccessibleRelationSet
Returns: the role of the object
See Also: AccessibleRole
Returns: the supported selection, or null
See Also: AccessibleSelection
Returns: the current state of the object
See Also: AccessibleState AccessibleStateSet addPropertyChangeListener
Returns: the supported table, or null
See Also: AccessibleTable
Returns: the supported text, or null
See Also: AccessibleText
Returns: the supported value, or null
See Also: AccessibleValue
Returns: the locale
Throws: java.awt.IllegalComponentStateException if there is no locale or parent
Parameters: l the listener to remove
See Also: addPropertyChangeListener
Parameters: s the new description
See Also: getAccessibleDescription addPropertyChangeListener
Parameters: s the new name
See Also: getAccessibleName addPropertyChangeListener
Parameters: a the new parent