protected class

Choice.AccessibleAWTChoice

extends Component.AccessibleAWTComponent
implements AccessibleAction
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Choice.AccessibleAWTChoice

Class Overview

This class implements accessibility support for the Choice class. It provides an implementation of the Java Accessibility API appropriate to choice user-interface elements.

Summary

[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
[Expand]
Inherited Fields
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From interface javax.accessibility.AccessibleAction
Public Constructors
Choice.AccessibleAWTChoice()
Public Methods
boolean doAccessibleAction(int i)
Perform the specified Action on the object
AccessibleAction getAccessibleAction()
Get the AccessibleAction associated with this object.
int getAccessibleActionCount()
Returns the number of accessible actions available in this object If there are more than one, the first one is considered the "default" action of the object.
String getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
AccessibleRole getAccessibleRole()
Get the role of this object.
[Expand]
Inherited Methods
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From class java.lang.Object
From interface javax.accessibility.AccessibleAction
From interface javax.accessibility.AccessibleComponent

Public Constructors

public Choice.AccessibleAWTChoice ()

Public Methods

public boolean doAccessibleAction (int i)

Perform the specified Action on the object

Parameters
i zero-based index of actions
Returns
  • true if the action was performed; otherwise false.

public AccessibleAction getAccessibleAction ()

Get the AccessibleAction associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleAction interface on behalf of itself.

Returns
  • this object
See Also

public int getAccessibleActionCount ()

Returns the number of accessible actions available in this object If there are more than one, the first one is considered the "default" action of the object.

Returns
  • the zero-based number of Actions in this object

public String getAccessibleActionDescription (int i)

Returns a description of the specified action of the object.

Parameters
i zero-based index of the actions
Returns
  • a String description of the action

public AccessibleRole getAccessibleRole ()

Get the role of this object.

Returns
  • an instance of AccessibleRole describing the role of the object
See Also