net.sf.sbcc.componentcombo.plaf.basic
Class BasicComponentComboBoxUI.SimpleDataHandler

java.lang.Object
  extended by net.sf.sbcc.componentcombo.plaf.basic.BasicComponentComboBoxUI.SimpleDataHandler
All Implemented Interfaces:
java.util.EventListener, SimpleDataListener
Enclosing class:
BasicComponentComboBoxUI

public class BasicComponentComboBoxUI.SimpleDataHandler
extends java.lang.Object
implements SimpleDataListener

This listener watches for changes in the ComboBoxModel.

This public inner class should be treated as protected. Instantiate it only within subclasses of BasicComboBoxUI.

See Also:
#createListDataListener

Constructor Summary
BasicComponentComboBoxUI.SimpleDataHandler()
           
 
Method Summary
 void contentsChanged(SimpleDataEvent e)
          Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods.
 void intervalAdded(SimpleDataEvent e)
           
 void intervalRemoved(SimpleDataEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicComponentComboBoxUI.SimpleDataHandler

public BasicComponentComboBoxUI.SimpleDataHandler()
Method Detail

contentsChanged

public void contentsChanged(SimpleDataEvent e)
Description copied from interface: SimpleDataListener
Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods. For example, this is sent when an item has been replaced. Index0 and index1 bracket the change.

Specified by:
contentsChanged in interface SimpleDataListener
Parameters:
e - a ListDataEvent encapsulating the event information

intervalAdded

public void intervalAdded(SimpleDataEvent e)

intervalRemoved

public void intervalRemoved(SimpleDataEvent e)