javax.swing
Class JScrollBar.ModelListener
java.lang.Object
javax.swing.JScrollBar.ModelListener
- All Implemented Interfaces:
- ChangeListener, EventListener, Serializable
- Enclosing class:
- JScrollBar
- private class JScrollBar.ModelListener
- extends Object
- implements ChangeListener, Serializable
This class listens to ChangeEvents on the model and forwards
AdjustmentEvents for the sake of backwards compatibility.
Unfortunately there's no way to determine the proper
type of the AdjustmentEvent as all updates to the model's
value are considered equivalent.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JScrollBar.ModelListener
private JScrollBar.ModelListener()
stateChanged
public void stateChanged(ChangeEvent e)
- Description copied from interface:
ChangeListener
- Invoked when the target of the listener has changed its state.
- Specified by:
stateChanged
in interface ChangeListener
- Parameters:
e
- a ChangeEvent object