javax.swing

Class JPanel.AccessibleJPanel

protected class JPanel.AccessibleJPanel extends AccessibleJComponent

Provides accessibility support for JPanel.
Constructor Summary
protected AccessibleJPanel()
Creates a new instance of AccessibleJPanel.
Method Summary
AccessibleRolegetAccessibleRole()
Returns the accessible role for JPanel, which is {@link AccessibleRole#PANEL}.

Constructor Detail

AccessibleJPanel

protected AccessibleJPanel()
Creates a new instance of AccessibleJPanel.

Method Detail

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role for JPanel, which is {@link AccessibleRole#PANEL}.

Returns: the accessible role for JPanel