JavaTM 2 Platform
Std. Ed. v1.3.1

javax.swing.plaf.basic
Class BasicComboBoxUI.PropertyChangeHandler

java.lang.Object
  |
  +--javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler
All Implemented Interfaces:
EventListener, PropertyChangeListener
Direct Known Subclasses:
MetalComboBoxUI.MetalPropertyChangeListener
Enclosing class:
BasicComboBoxUI

public class BasicComboBoxUI.PropertyChangeHandler
extends Object
implements PropertyChangeListener

This listener watches for bound properties that have changed in the JComboBox. It looks for the model and editor being swapped-out and updates appropriately. It also looks for changes in the editable, enabled, and maximumRowCount properties. This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of .


Constructor Summary
BasicComboBoxUI.PropertyChangeHandler()
           
 
Method Summary
 void propertyChange(PropertyChangeEvent e)
          This method gets called when a bound property is changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicComboBoxUI.PropertyChangeHandler

public BasicComboBoxUI.PropertyChangeHandler()
Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent e)
Description copied from interface: PropertyChangeListener
This method gets called when a bound property is changed.
Specified by:
propertyChange in interface PropertyChangeListener
Following copied from interface: java.beans.PropertyChangeListener
Parameters:
evt - A PropertyChangeEvent object describing the event source and the property that has changed.

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.