javax.swing.plaf.basic
Class BasicScrollBarUI.ModelListener

java.lang.Object
  extended by javax.swing.plaf.basic.BasicScrollBarUI.ModelListener
All Implemented Interfaces:
EventListener, ChangeListener
Enclosing class:
BasicScrollBarUI

protected class BasicScrollBarUI.ModelListener
extends Object
implements ChangeListener

A helper class that listens to the ScrollBar's model for ChangeEvents.


Constructor Summary
protected BasicScrollBarUI.ModelListener()
           
 
Method Summary
 void stateChanged(ChangeEvent e)
          Called when the model changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicScrollBarUI.ModelListener

protected BasicScrollBarUI.ModelListener()
Method Detail

stateChanged

public void stateChanged(ChangeEvent e)
Called when the model changes.

Specified by:
stateChanged in interface ChangeListener
Parameters:
e - The ChangeEvent fired by the model.