java.lang.Object javax.accessibility.AccessibleContext java.awt.Component.AccessibleAWTComponent java.awt.Container.AccessibleAWTContainer
Inner 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.
The class used to obtain the accessible role for this object, as well as implementing many of the methods in the AccessibleContainer interface.
Nested Class Summary | |
---|---|
protected class |
Container.AccessibleAWTContainer.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered, when children are added or removed. |
Nested classes inherited from class java.awt. Component.AccessibleAWTComponent |
---|
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler , Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
Field Summary | |
---|---|
protected ContainerListener |
accessibleContainerHandler
|
Fields inherited from class java.awt. Component.AccessibleAWTComponent |
---|
accessibleAWTComponentHandler , accessibleAWTFocusHandler |
Constructor Summary | |
---|---|
protected |
Container.AccessibleAWTContainer
() |
Method Summary | |
---|---|
void |
addPropertyChangeListener
(
PropertyChangeListener
Adds a PropertyChangeListener to the listener list. |
Accessible |
getAccessibleAt
(
Point
p) Returns the Accessible child, if one exists, contained at the local coordinate Point. |
Accessible |
getAccessibleChild
(int i) Returns the nth Accessible child of the object. |
int |
getAccessibleChildrenCount
() Returns the number of accessible children in the object. |
Methods inherited from class javax.accessibility. AccessibleContext |
---|
firePropertyChange , getAccessibleAction , getAccessibleEditableText , getAccessibleIcon , getAccessibleRelationSet , getAccessibleSelection , getAccessibleTable , getAccessibleText , getAccessibleValue , setAccessibleDescription , setAccessibleName , setAccessibleParent |
Methods inherited from class java.lang. Object |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Field Detail |
---|
protected ContainerListener accessibleContainerHandler
Constructor Detail |
---|
protected Container.AccessibleAWTContainer()
Method Detail |
---|
public int getAccessibleChildrenCount()
public Accessible getAccessibleChild(int i)
public Accessible getAccessibleAt(Point p)
public void addPropertyChangeListener ( PropertyChangeListener listener)