javax.swing

Class JToggleButton.AccessibleJToggleButton

protected class JToggleButton.AccessibleJToggleButton extends AccessibleAbstractButton implements ItemListener

This class provides accessibility support for the toggle button.
Constructor Summary
AccessibleJToggleButton()
Constructor for the accessible toggle button.
Method Summary
AccessibleRolegetAccessibleRole()
Returns the accessible role for the toggle button.
voiditemStateChanged(ItemEvent event)
Monitors the toggle button for state changes and fires accessible property change events when they occur.

Constructor Detail

AccessibleJToggleButton

public AccessibleJToggleButton()
Constructor for the accessible toggle button.

Method Detail

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role for the toggle button.

Returns: An instance of AccessibleRole, describing the role of the toggle button.

itemStateChanged

public void itemStateChanged(ItemEvent event)
Monitors the toggle button for state changes and fires accessible property change events when they occur.

Parameters: event the event that occurred.