java.awt
protected class Choice.AccessibleAWTChoice extends AccessibleAWTComponent implements AccessibleAction
Constructor Summary | |
---|---|
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.
|
Parameters: i the id of the choice to select.
Returns: true if a valid choice was specified.
See Also: AccessibleAction
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.
Returns: the accessible action associated with this context.
See Also: AccessibleAction
Returns: the number of choices available.
See Also: getAccessibleActionCount
Parameters: i the id of the choice whose description should be retrieved.
Returns: the String
used to describe the choice.
See Also: AccessibleAction
Returns: the instance of AccessibleRole
,
which describes this object.
See Also: AccessibleRole