java.lang.Object
javax.swing.plaf.basic.BasicComboBoxUI.ItemHandler
- All Implemented Interfaces:
ItemListener
,EventListener
- Enclosing class:
BasicComboBoxUI
This listener watches for changes to the selection in the
combo box.
This public inner class should be treated as protected.
Instantiate it only within subclasses of
BasicComboBoxUI
.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an item has been selected or deselected by the user.
-
Constructor Details
-
ItemHandler
public ItemHandler()Constructs aItemHandler
.
-
-
Method Details
-
itemStateChanged
Description copied from interface:ItemListener
Invoked when an item has been selected or deselected by the user. The code written for this method performs the operations that need to occur when an item is selected (or deselected).- Specified by:
itemStateChanged
in interfaceItemListener
- Parameters:
e
- the event to be processed
-