protected class

JScrollBar.AccessibleJScrollBar

extends JComponent.AccessibleJComponent
implements AccessibleValue
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Container.AccessibleAWTContainer
         ↳ javax.swing.JComponent.AccessibleJComponent
           ↳ javax.swing.JScrollBar.AccessibleJScrollBar

Class Overview

This class implements accessibility support for the JScrollBar class. It provides an implementation of the Java Accessibility API appropriate to scroll bar 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 JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.

Summary

[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
[Expand]
Inherited Fields
From class javax.swing.JComponent.AccessibleJComponent
From class java.awt.Container.AccessibleAWTContainer
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
Protected Constructors
JScrollBar.AccessibleJScrollBar()
Public Methods
AccessibleRole getAccessibleRole()
Get the role of this object.
AccessibleStateSet getAccessibleStateSet()
Get the state set of this object.
AccessibleValue getAccessibleValue()
Get the AccessibleValue associated with this object.
Number getCurrentAccessibleValue()
Get the accessible value of this object.
Number getMaximumAccessibleValue()
Get the maximum accessible value of this object.
Number getMinimumAccessibleValue()
Get the minimum accessible value of this object.
boolean setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.
[Expand]
Inherited Methods
From class javax.swing.JComponent.AccessibleJComponent
From class java.awt.Container.AccessibleAWTContainer
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From class java.lang.Object
From interface javax.accessibility.AccessibleComponent
From interface javax.accessibility.AccessibleExtendedComponent
From interface javax.accessibility.AccessibleValue

Protected Constructors

protected JScrollBar.AccessibleJScrollBar ()

Public Methods

public AccessibleRole getAccessibleRole ()

Get the role of this object.

Returns
  • an instance of AccessibleRole describing the role of the object

public AccessibleStateSet getAccessibleStateSet ()

Get the state set of this object.

Returns
  • an instance of AccessibleState containing the current state of the object
See Also

public AccessibleValue getAccessibleValue ()

Get the AccessibleValue associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleValue interface on behalf of itself.

Returns
  • this object

public Number getCurrentAccessibleValue ()

Get the accessible value of this object.

Returns
  • The current value of this object.

public Number getMaximumAccessibleValue ()

Get the maximum accessible value of this object.

Returns
  • The maximum value of this object.

public Number getMinimumAccessibleValue ()

Get the minimum accessible value of this object.

Returns
  • The minimum value of this object.

public boolean setCurrentAccessibleValue (Number n)

Set the value of this object as a Number.

Returns
  • True if the value was set.