javax.swing

Class JOptionPane.AccessibleJOptionPane

protected class JOptionPane.AccessibleJOptionPane extends JComponent.AccessibleJComponent

Provides the accessibility features for the JOptionPane component.
Constructor Summary
protected AccessibleJOptionPane()
Creates a new AccessibleJOptionPane instance.
Method Summary
AccessibleRolegetAccessibleRole()
Returns the accessible role of this object, which is always {@link AccessibleRole#OPTION_PANE}.

Constructor Detail

AccessibleJOptionPane

protected AccessibleJOptionPane()
Creates a new AccessibleJOptionPane instance.

Method Detail

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role of this object, which is always {@link AccessibleRole#OPTION_PANE}.

Returns: the accessible role of this object