protected class

Scrollbar.AccessibleAWTScrollBar

extends Component.AccessibleAWTComponent
implements AccessibleValue
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Scrollbar.AccessibleAWTScrollBar

Class Overview

This class implements accessibility support for the Scrollbar class. It provides an implementation of the Java Accessibility API appropriate to scrollbar user-interface elements.

Summary

[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
[Expand]
Inherited Fields
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
Protected Constructors
Scrollbar.AccessibleAWTScrollBar()
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 java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From class java.lang.Object
From interface javax.accessibility.AccessibleComponent
From interface javax.accessibility.AccessibleValue

Protected Constructors

protected Scrollbar.AccessibleAWTScrollBar ()

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.