javax.swing
Class JComboBox.AccessibleJComboBox
java.lang.Object
|
+--javax.accessibility.AccessibleContext
|
+--javax.swing.JComponent.AccessibleJComponent
|
+--javax.swing.JComboBox.AccessibleJComboBox
- Enclosing class:
- JComboBox
- protected class JComboBox.AccessibleJComboBox
- extends JComponent.AccessibleJComponent
- implements AccessibleAction
The class used to obtain the accessible role for this object.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is appropriate
for short term storage or RMI between applications running the same
version of Swing. A future release of Swing will provide support for
long term persistence.
- See Also:
- Serialized Form
Fields inherited from class javax.accessibility.AccessibleContext |
ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY,
ACCESSIBLE_CARET_PROPERTY,
ACCESSIBLE_CHILD_PROPERTY,
ACCESSIBLE_DESCRIPTION_PROPERTY,
ACCESSIBLE_NAME_PROPERTY,
ACCESSIBLE_SELECTION_PROPERTY,
ACCESSIBLE_STATE_PROPERTY,
ACCESSIBLE_TEXT_PROPERTY,
ACCESSIBLE_VALUE_PROPERTY,
ACCESSIBLE_VISIBLE_DATA_PROPERTY,
accessibleDescription,
accessibleName,
accessibleParent |
Methods inherited from class javax.swing.JComponent.AccessibleJComponent |
addFocusListener,
addPropertyChangeListener,
contains,
getAccessibleAt,
getAccessibleChild,
getAccessibleChildrenCount,
getAccessibleComponent,
getAccessibleDescription,
getAccessibleIndexInParent,
getAccessibleName,
getAccessibleParent,
getAccessibleStateSet,
getBackground,
getBorderTitle,
getBounds,
getCursor,
getFont,
getFontMetrics,
getForeground,
getLocale,
getLocation,
getLocationOnScreen,
getSize,
isEnabled,
isFocusTraversable,
isShowing,
isVisible,
removeFocusListener,
removePropertyChangeListener,
requestFocus,
setBackground,
setBounds,
setCursor,
setEnabled,
setFont,
setForeground,
setLocation,
setSize,
setVisible |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JComboBox.AccessibleJComboBox
protected JComboBox.AccessibleJComboBox()
getAccessibleRole
public AccessibleRole getAccessibleRole()
- Get the role of this object.
- Overrides:
- getAccessibleRole in class JComponent.AccessibleJComponent
- Returns:
- an instance of AccessibleRole describing the role of the
object
- See Also:
AccessibleRole
getAccessibleAction
public AccessibleAction getAccessibleAction()
- Get the AccessibleAction associated with this object if one
exists. Otherwise return null.
- Overrides:
- getAccessibleAction in class AccessibleContext
- Tags copied from class: AccessibleContext
- Returns:
- AccessibleAction if supported by object; else return null
- See Also:
AccessibleAction
getAccessibleActionDescription
public String getAccessibleActionDescription(int i)
- Return a description of the specified action of the object.
- Specified by:
- getAccessibleActionDescription in interface AccessibleAction
- Parameters:
i
- zero-based index of the actions
getAccessibleActionCount
public int getAccessibleActionCount()
- Returns the number of Actions available in this object.
If there is more than one, the first one is the "default"
action.
- Specified by:
- getAccessibleActionCount in interface AccessibleAction
- Returns:
- the number of Actions in this object
doAccessibleAction
public boolean doAccessibleAction(int i)
- Perform the specified Action on the object
- Specified by:
- doAccessibleAction in interface AccessibleAction
- Parameters:
i
- zero-based index of actions- Returns:
- true if the the action was performed; else false.
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.