javax.swing.plaf.basic

Class BasicComboBoxUI.ListDataHandler

public class BasicComboBoxUI.ListDataHandler extends Object implements ListDataListener

Handles the changes occurring in the JComboBox's data model.
Constructor Summary
ListDataHandler()
Creates a new ListDataHandler object.
Method Summary
voidcontentsChanged(ListDataEvent e)
Invoked if the content's of JComboBox's data model are changed.
voidintervalAdded(ListDataEvent e)
Invoked when items are added to the JComboBox's data model.
voidintervalRemoved(ListDataEvent e)
Invoked when items are removed from the JComboBox's data model.

Constructor Detail

ListDataHandler

public ListDataHandler()
Creates a new ListDataHandler object.

Method Detail

contentsChanged

public void contentsChanged(ListDataEvent e)
Invoked if the content's of JComboBox's data model are changed.

Parameters: e ListDataEvent describing the change.

intervalAdded

public void intervalAdded(ListDataEvent e)
Invoked when items are added to the JComboBox's data model.

Parameters: e ListDataEvent describing the change.

intervalRemoved

public void intervalRemoved(ListDataEvent e)
Invoked when items are removed from the JComboBox's data model.

Parameters: e ListDataEvent describing the change.