protected class

JProgressBar.AccessibleJProgressBar

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.JProgressBar.AccessibleJProgressBar

Class Overview

This class implements accessibility support for the JProgressBar class. It provides an implementation of the Java Accessibility API appropriate to progress 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
JProgressBar.AccessibleJProgressBar()
Public Methods
AccessibleRole getAccessibleRole()
Gets the role of this object.
AccessibleStateSet getAccessibleStateSet()
Gets the state set of this object.
AccessibleValue getAccessibleValue()
Gets the AccessibleValue associated with this object.
Number getCurrentAccessibleValue()
Gets the accessible value of this object.
Number getMaximumAccessibleValue()
Gets the maximum accessible value of this object.
Number getMinimumAccessibleValue()
Gets the minimum accessible value of this object.
boolean setCurrentAccessibleValue(Number n)
Sets 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 JProgressBar.AccessibleJProgressBar ()

Public Methods

public AccessibleRole getAccessibleRole ()

Gets the role of this object.

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

public AccessibleStateSet getAccessibleStateSet ()

Gets the state set of this object.

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

public AccessibleValue getAccessibleValue ()

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

Returns
  • this object

public Number getCurrentAccessibleValue ()

Gets the accessible value of this object.

Returns
  • the current value of this object

public Number getMaximumAccessibleValue ()

Gets the maximum accessible value of this object.

Returns
  • the maximum value of this object

public Number getMinimumAccessibleValue ()

Gets the minimum accessible value of this object.

Returns
  • the minimum value of this object

public boolean setCurrentAccessibleValue (Number n)

Sets the value of this object as a Number.

Returns
  • true if the value was set