javax.swing.plaf.basic
Class BasicComboBoxUI.EditorFocusListener
java.lang.Object
java.awt.event.FocusAdapter
javax.swing.plaf.basic.BasicComboBoxUI.EditorFocusListener
- All Implemented Interfaces:
- EventListener, FocusListener
- Enclosing class:
- BasicComboBoxUI
- class BasicComboBoxUI.EditorFocusListener
- extends FocusAdapter
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicComboBoxUI.EditorFocusListener
BasicComboBoxUI.EditorFocusListener()
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