Package Summary  Overview Summary

class:JToggleButton.AccessibleJToggleButton [CHANGED]

All Implemented Interfaces:
ItemListener, Serializable, EventListener, AccessibleAction, AccessibleComponent, AccessibleExtendedComponent, AccessibleText, AccessibleValue
Direct Known Subclasses:
JCheckBox.AccessibleJCheckBox, JRadioButton.AccessibleJRadioButton
Enclosing class:
JToggleButton

protected class JToggleButton.AccessibleJToggleButton
extends AbstractButton.AccessibleAbstractButton
implements ItemListener
This class implements accessibility support for the JToggleButton class. It provides an implementation of the Java Accessibility API appropriate to toggle button user-interface elements.

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. As of 1.4, support for long term storage of all JavaBeans™JavaBeans has been added to the java.beans package. Please see XMLEncoder.

All Implemented Interfaces:
ItemListener, Serializable, EventListener, AccessibleAction, AccessibleComponent, AccessibleExtendedComponent, AccessibleText, AccessibleValue
Direct Known Subclasses:
JCheckBox.AccessibleJCheckBox, JRadioButton.AccessibleJRadioButton
Enclosing class:
JToggleButton

protected class JToggleButton.AccessibleJToggleButton
extends AbstractButton.AccessibleAbstractButton
implements ItemListener
This class implements accessibility support for the JToggleButton class. It provides an implementation of the Java Accessibility API appropriate to toggle button user-interface elements.

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. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

All Implemented Interfaces:
ItemListener, Serializable, EventListener, AccessibleAction, AccessibleComponent, AccessibleExtendedComponent, AccessibleText, AccessibleValue
Direct Known Subclasses:
JCheckBox.AccessibleJCheckBox, JRadioButton.AccessibleJRadioButton
Enclosing class:
JToggleButton

protected class JToggleButton.AccessibleJToggleButton
extends AbstractButton.AccessibleAbstractButton
implements ItemListener
This class implements accessibility support for the JToggleButton class. It provides an implementation of the Java Accessibility API appropriate to toggle button user-interface elements.

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. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see XMLEncoder.

constructor:JToggleButton.AccessibleJToggleButton() [NONE]

method:itemStateChanged(java.awt.event.ItemEvent) [NONE]

  • 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
    Parameters:
    e - the event to be processed
  • method:getAccessibleRole() [NONE]

    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

    © 2020 Oracle Corporation and/or its affiliates