javax.swing
protected class JComboBox.AccessibleJComboBox extends AccessibleJComponent implements AccessibleAction, AccessibleSelection
JComboBox.
| Constructor Summary | |
|---|---|
| AccessibleJComboBox() | |
| Method Summary | |
|---|---|
| void | addAccessibleSelection(int index)
Sets the current selection to the specified index.
|
| void | clearAccessibleSelection()
Clears the current selection. |
| boolean | doAccessibleAction(int actionIndex)
Performs the accessible action with the specified index.
|
| AccessibleAction | getAccessibleAction()
Returns the accessible action associated to this accessible object.
|
| int | getAccessibleActionCount()
Returns the number of accessible actions that can be performed by
this object. |
| String | getAccessibleActionDescription(int actionIndex)
Returns the description of the specified action. |
| Accessible | getAccessibleChild(int index)
Returns the number of accessible children of this object. |
| int | getAccessibleChildrenCount()
Returns the number of accessible children of this object. |
| AccessibleRole | getAccessibleRole()
Returns the accessible role for the JComboBox component.
|
| AccessibleSelection | getAccessibleSelection()
Returns the AccessibleSelection object associated with this object.
|
| Accessible | getAccessibleSelection(int index)
Returns the accessible selection from this AccssibleJComboBox.
|
| int | getAccessibleSelectionCount()
Returns the number of selected accessible children of this object. |
| boolean | isAccessibleChildSelected(int index)
Returns true if the accessible child with the specified
index is selected, false otherwise.
|
| void | removeAccessibleSelection(int index)
Removes the specified index from the current selection.
|
| void | selectAllAccessibleSelection()
Multiple selection is not supported by AccessibleJComboBox, so this
does nothing. |
UNKNOWN: This constructor was protected in 1.4, but made public in 1.5.
index.
Parameters: index the index to set as selection
actionIndex == 0), which is to toggle the
popup menu. All other action indices have no effect and return
false.
Parameters: actionIndex the index of the action to perform
Returns: true if the action has been performed,
false otherwise
this.
Returns: the accessible action associated to this accessible object
1.
Returns: the number of accessible actions that can be performed by this object
UIManager.getString("ComboBox.togglePopupText")
Parameters: actionIndex the index of the action for which to return the description
Returns: the description of the specified action
Parameters: index the index of the accessible child to fetch
Returns: the number of accessible children of this object
See Also: ComponentUI
Returns: the number of accessible children of this object
See Also: getAccessibleChildrenCount
JComboBox component.
Returns: {@link AccessibleRole#COMBO_BOX}.
this.
Returns: the AccessibleSelection object associated with this object
Parameters: index the index of the selected child to fetch
Returns: the accessible selection from this AccssibleJComboBox
1 if the combobox has a selected entry,
0 otherwise.
Returns: the number of selected accessible children of this object
true if the accessible child with the specified
index is selected, false otherwise.
Parameters: index the index of the accessible child
Returns: true if the accessible child with the specified
index is selected, false otherwise
Parameters: index the index to remove from the selection