|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Choice.AccessibleAWTChoice
protected class Choice.AccessibleAWTChoice
This class provides accessibility support for the combo box.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component.AccessibleAWTComponent |
---|
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
Field Summary |
---|
Fields inherited from class java.awt.Component.AccessibleAWTComponent |
---|
accessibleAWTComponentHandler, accessibleAWTFocusHandler |
Fields inherited from interface javax.accessibility.AccessibleAction |
---|
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP |
Constructor Summary | |
---|---|
Choice.AccessibleAWTChoice()
Default constructor which simply calls the super class for generic component accessibility handling. |
Method Summary | |
---|---|
boolean |
doAccessibleAction(int i)
Executes the action with the specified id. |
AccessibleAction |
getAccessibleAction()
Returns an implementation of the AccessibleAction
interface for this accessible object. |
int |
getAccessibleActionCount()
Returns the number of actions associated with this accessible object. |
String |
getAccessibleActionDescription(int i)
Returns a description of the action with the supplied id. |
AccessibleRole |
getAccessibleRole()
Returns the role of this accessible object. |
Methods inherited from class javax.accessibility.AccessibleContext |
---|
firePropertyChange, 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 |
Constructor Detail |
---|
public Choice.AccessibleAWTChoice()
Method Detail |
---|
public AccessibleAction getAccessibleAction()
AccessibleAction
interface for this accessible object. In this case, the
current instance is simply returned (with a more appropriate
type), as it also implements the accessible action as well as
the context.
getAccessibleAction
in class AccessibleContext
AccessibleAction
public AccessibleRole getAccessibleRole()
getAccessibleRole
in class Component.AccessibleAWTComponent
AccessibleRole
,
which describes this object.AccessibleRole
public int getAccessibleActionCount()
getAccessibleActionCount
in interface AccessibleAction
AccessibleAction.getAccessibleActionCount()
public String getAccessibleActionDescription(int i)
getAccessibleActionDescription
in interface AccessibleAction
i
- the id of the choice whose description should be
retrieved.
String
used to describe the choice.AccessibleAction.getAccessibleActionDescription(int)
public boolean doAccessibleAction(int i)
doAccessibleAction
in interface AccessibleAction
i
- the id of the choice to select.
AccessibleAction.doAccessibleAction(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |