javax.swing.plaf.basic
Class BasicComboBoxUI.EditorFocusListener

java.lang.Object
  extended byjava.awt.event.FocusAdapter
      extended byjavax.swing.plaf.basic.BasicComboBoxUI.EditorFocusListener
All Implemented Interfaces:
EventListener, FocusListener
Enclosing class:
BasicComboBoxUI

class BasicComboBoxUI.EditorFocusListener
extends FocusAdapter


Constructor Summary
(package private) BasicComboBoxUI.EditorFocusListener()
           
 
Method Summary
 void focusLost(FocusEvent e)
          This will make the comboBox fire an ActionEvent if the editor value is different from the selected item in the model.
 
Methods inherited from class java.awt.event.FocusAdapter
focusGained
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicComboBoxUI.EditorFocusListener

BasicComboBoxUI.EditorFocusListener()
Method Detail

focusLost

public void focusLost(FocusEvent e)
This will make the comboBox fire an ActionEvent if the editor value is different from the selected item in the model. This allows for the entering of data in the combo box editor and sends notification when tabbing or clicking out of focus.

Specified by:
focusLost in interface FocusListener
Overrides:
focusLost in class FocusAdapter