当前页面:
在线文档首页 >
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class JToggleButton.AccessibleJToggleButton - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
javax.swing
Class JToggleButton.AccessibleJToggleButton
java.lang.Object
|
+--javax.accessibility.AccessibleContext
|
+--javax.swing.JComponent.AccessibleJComponent
|
+--javax.swing.AbstractButton.AccessibleAbstractButton
|
+--javax.swing.JToggleButton.AccessibleJToggleButton
- Direct Known Subclasses:
- JCheckBox.AccessibleJCheckBox, JRadioButton.AccessibleJRadioButton
- Enclosing class:
- JToggleButton
- protected class JToggleButton.AccessibleJToggleButton
- extends AbstractButton.AccessibleAbstractButton
- implements ItemListener
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.AbstractButton.AccessibleAbstractButton |
doAccessibleAction,
getAccessibleAction,
getAccessibleActionCount,
getAccessibleActionDescription,
getAccessibleName,
getAccessibleStateSet,
getAccessibleValue,
getCurrentAccessibleValue,
getMaximumAccessibleValue,
getMinimumAccessibleValue,
setCurrentAccessibleValue |
Methods inherited from class javax.swing.JComponent.AccessibleJComponent |
addFocusListener,
addPropertyChangeListener,
contains,
getAccessibleAt,
getAccessibleChild,
getAccessibleChildrenCount,
getAccessibleComponent,
getAccessibleDescription,
getAccessibleIndexInParent,
getAccessibleParent,
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 |
JToggleButton.AccessibleJToggleButton
public JToggleButton.AccessibleJToggleButton()
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Fire accessible property change events when the state of the
toggle button changes.
- Specified by:
- itemStateChanged in interface ItemListener
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
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.