javax.swing.event
public interface ListDataListener extends EventListener
ListDataListener can register with a {@link ListModel} and
receive notification of updates to the model.
| Method Summary | |
|---|---|
| void | contentsChanged(ListDataEvent event)
Notifies the listener that the contents of the list have changed
in some way. |
| void | intervalAdded(ListDataEvent event)
Notifies the listener that one or more items have been added to the
list. |
| void | intervalRemoved(ListDataEvent event)
Notifies the listener that one or more items have been removed from
the list. |
Parameters: event the event.
event argument can supply the indices for the
range of items added.
Parameters: event the event.
event argument can supply the indices for
the range of items removed.
Parameters: event the event.