javax.swing
protected class JScrollPane.AccessibleJScrollPane extends AccessibleJComponent implements ChangeListener, PropertyChangeListener
JScrollPane
.
Field Summary | |
---|---|
protected JViewport | viewPort
The viewport of the underlying scrollpane. |
Constructor Summary | |
---|---|
AccessibleJScrollPane()
Creates a new AccessibleJScrollPane object. |
Method Summary | |
---|---|
void | propertyChange(PropertyChangeEvent e)
Receives notification if any of the viewport's bound properties changes.
|
void | resetViewPort()
Resets the viewPort field when the scrollpane's viewport
changes. |
void | stateChanged(ChangeEvent event)
Receives notification when the state of the viewport changes.
|
AccessibleJScrollPane
object. This
initializes the viewport
field with the current viewport
from the scrollpane associated with this
AccessibleJScrollPane
.Parameters: e the propery change event
viewPort
field when the scrollpane's viewport
changes. This method is called by
{@link JScrollPane#setViewport(JViewport)} in order to update the
viewPort
field and set up the listeners on this viewport
correctly.Parameters: event the change event