javax.swing.plaf.basic
public class BasicListUI.ListDataHandler extends Object implements ListDataListener
JList.getModel()
Constructor and Description |
---|
BasicListUI.ListDataHandler() |
Modifier and Type | Method and Description |
---|---|
void |
contentsChanged(ListDataEvent e)
Called when a general change has happened in the model which cannot
be represented in terms of a simple addition or deletion.
|
void |
intervalAdded(ListDataEvent e)
Called when an interval of objects has been added to the model.
|
void |
intervalRemoved(ListDataEvent e)
Called when an inteval of objects has been removed from the model.
|
public BasicListUI.ListDataHandler()
public void contentsChanged(ListDataEvent e)
contentsChanged
in interface ListDataListener
e
- The event representing the changepublic void intervalAdded(ListDataEvent e)
intervalAdded
in interface ListDataListener
e
- The event representing the additionpublic void intervalRemoved(ListDataEvent e)
intervalRemoved
in interface ListDataListener
e
- The event representing the removal