protected class

JScrollPane.AccessibleJScrollPane

extends JComponent.AccessibleJComponent
implements PropertyChangeListener ChangeListener
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Container.AccessibleAWTContainer
         ↳ javax.swing.JComponent.AccessibleJComponent
           ↳ javax.swing.JScrollPane.AccessibleJScrollPane

Class Overview

This class implements accessibility support for the JScrollPane class. It provides an implementation of the Java Accessibility API appropriate to scroll pane 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
Fields
protected JViewport viewPort
[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
Public Constructors
JScrollPane.AccessibleJScrollPane()
AccessibleJScrollPane constructor
Public Methods
AccessibleRole getAccessibleRole()
Get the role of this object.
void propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.
void resetViewPort()
void stateChanged(ChangeEvent e)
Invoked when the target of the listener has changed its state.
[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 java.beans.PropertyChangeListener
From interface javax.accessibility.AccessibleComponent
From interface javax.accessibility.AccessibleExtendedComponent
From interface javax.swing.event.ChangeListener

Fields

protected JViewport viewPort

Public Constructors

public JScrollPane.AccessibleJScrollPane ()

AccessibleJScrollPane constructor

Public Methods

public AccessibleRole getAccessibleRole ()

Get the role of this object.

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

public void propertyChange (PropertyChangeEvent e)

This method gets called when a bound property is changed.

Parameters
e A PropertyChangeEvent object describing the event source and the property that has changed. Must not be null.
Throws
NullPointerException if the parameter is null.

public void resetViewPort ()

public void stateChanged (ChangeEvent e)

Invoked when the target of the listener has changed its state.

Parameters
e a ChangeEvent object. Must not be null.
Throws
NullPointerException if the parameter is null.