java.awt
protected class Checkbox.AccessibleAWTCheckbox extends AccessibleAWTComponent implements ItemListener, AccessibleAction, AccessibleValue
Constructor Summary | |
---|---|
AccessibleAWTCheckbox()
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.
|
AccessibleStateSet | getAccessibleStateSet()
Returns the state set of this accessible object.
|
AccessibleValue | getAccessibleValue()
Returns an implementation of the AccessibleValue
interface for this accessible object. |
Number | getCurrentAccessibleValue()
Returns the current value of this accessible object.
|
Number | getMaximumAccessibleValue()
Returns the maximum acceptable accessible value used
by this object, or null if no maximum value exists.
|
Number | getMinimumAccessibleValue()
Returns the minimum acceptable accessible value used
by this object, or null if no minimum value exists.
|
void | itemStateChanged(ItemEvent event)
Captures changes to the state of the checkbox and
fires appropriate accessible property change events.
|
boolean | setCurrentAccessibleValue(Number number)
Sets the current value of this accessible object
to that supplied. |
Parameters: i the id of the action to perform.
Returns: true if the action was performed.
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 accessible actions available.
See Also: getAccessibleActionCount
Parameters: i the id of the action whose description should be retrieved.
Returns: a String
describing the action.
See Also: AccessibleAction
Returns: the instance of AccessibleRole
,
which describes this object.
See Also: AccessibleRole
Returns: a set of AccessibleState
s
which represent the current state of the
accessible object.
See Also: AccessibleState AccessibleStateSet
AccessibleValue
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 value as well as
the context.
Returns: the accessible value associated with this context.
See Also: AccessibleValue
Returns: the numeric value of this object, or null if no value has been set.
See Also: getCurrentAccessibleValue
Returns: the maximum acceptable accessible value, or null if there is no maximum.
See Also: getMaximumAccessibleValue
Returns: the minimum acceptable accessible value, or null if there is no minimum.
See Also: getMinimumAccessibleValue
Parameters: event the event fired.
See Also: itemStateChanged
Parameters: number the new accessible value.
Returns: true if the value was set.
See Also: setCurrentAccessibleValue