javax.swing.plaf.basic
Class BasicComboBoxUI.ListDataHandler

java.lang.Object
  extended by javax.swing.plaf.basic.BasicComboBoxUI.ListDataHandler
All Implemented Interfaces:
EventListener, ListDataListener
Enclosing class:
BasicComboBoxUI

public class BasicComboBoxUI.ListDataHandler
extends Object
implements ListDataListener

Handles the changes occurring in the JComboBox's data model.


Constructor Summary
BasicComboBoxUI.ListDataHandler()
          Creates a new ListDataHandler object.
 
Method Summary
 void contentsChanged(ListDataEvent e)
          Invoked if the content's of JComboBox's data model are changed.
 void intervalAdded(ListDataEvent e)
          Invoked when items are added to the JComboBox's data model.
 void intervalRemoved(ListDataEvent e)
          Invoked when items are removed from the JComboBox's data model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicComboBoxUI.ListDataHandler

public BasicComboBoxUI.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.

Specified by:
contentsChanged in interface ListDataListener
Parameters:
e - ListDataEvent describing the change.

intervalAdded

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

Specified by:
intervalAdded in interface ListDataListener
Parameters:
e - ListDataEvent describing the change.

intervalRemoved

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

Specified by:
intervalRemoved in interface ListDataListener
Parameters:
e - ListDataEvent describing the change.