javax.swing.event
public interface ChangeListener extends EventListener
ChangeListener can register with an object to receive
notification of state changes (for objects that support this mechanism).
| Method Summary | |
|---|---|
| void | stateChanged(ChangeEvent event)
Called by an object to notify the listener that the object's state has
changed. |
event identifies the
source of the event, allowing the listener to differentiate
when it is listening for changes in multiple sources.
Parameters: event the change event.