|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
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 java.awt.Container.AccessibleAWTContainer
protected class 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/interfaces 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 listener)
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()
Accessible
,
then this method should return the number of children of this object.
getAccessibleChildrenCount
in class Component.AccessibleAWTComponent
public Accessible getAccessibleChild(int i)
Accessible
child of the object.
getAccessibleChild
in class Component.AccessibleAWTComponent
i
- zero-based index of child
Accessible
child of the objectAccessibleContext.getAccessibleChildrenCount()
public Accessible getAccessibleAt(Point p)
Accessible
child, if one exists,
contained at the local coordinate Point
.
getAccessibleAt
in interface AccessibleComponent
getAccessibleAt
in class Component.AccessibleAWTComponent
p
- the point defining the top-left corner of the
Accessible
, given in the coordinate space
of the object's parent
Accessible
, if it exists,
at the specified location; else null
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in class Component.AccessibleAWTComponent
listener
- the PropertyChangeListener to be addedAccessibleContext.ACCESSIBLE_NAME_PROPERTY
,
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY
,
AccessibleContext.ACCESSIBLE_STATE_PROPERTY
,
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY
,
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY
,
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY
,
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.