javax.swing.plaf.basic

Class BasicComboBoxUI.ItemHandler

public class BasicComboBoxUI.ItemHandler extends Object implements ItemListener

Handles {@link ItemEvent}s fired by the {@link JComboBox} when its selected item changes.
Constructor Summary
ItemHandler()
Creates a new ItemHandler object.
Method Summary
voiditemStateChanged(ItemEvent e)
Invoked when selected item becomes deselected or when new item becomes selected.

Constructor Detail

ItemHandler

public ItemHandler()
Creates a new ItemHandler object.

Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent e)
Invoked when selected item becomes deselected or when new item becomes selected.

Parameters: e the ItemEvent representing item's state change.