javax.swing

Class JToolBar.AccessibleJToolBar

protected class JToolBar.AccessibleJToolBar extends AccessibleJComponent

Provides the accessibility features for the JToolBar component.
Constructor Summary
protected AccessibleJToolBar()
Creates a new AccessibleJToolBar instance.
Method Summary
AccessibleRolegetAccessibleRole()
Returns the accessible role for the JToolBar component.
AccessibleStateSetgetAccessibleStateSet()
Returns a set containing the current state of the {@link JToolBar} component.

Constructor Detail

AccessibleJToolBar

protected AccessibleJToolBar()
Creates a new AccessibleJToolBar instance.

Method Detail

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role for the JToolBar component.

Returns: {@link AccessibleRole#TOOL_BAR}.

getAccessibleStateSet

public AccessibleStateSet getAccessibleStateSet()
Returns a set containing the current state of the {@link JToolBar} component. The current implementation simply calls the superclass.

Returns: The accessible state set.