|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListDataListener
A ListDataListener
can register with a 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. |
Method Detail |
---|
void contentsChanged(ListDataEvent event)
intervalAdded(ListDataEvent)
or the
intervalRemoved(ListDataEvent)
methods.
event
- the event.void intervalAdded(ListDataEvent event)
event
argument can supply the indices for the
range of items added.
event
- the event.void intervalRemoved(ListDataEvent event)
event
argument can supply the indices for
the range of items removed.
event
- the event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |