|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EditableComboBoxListener
Interface to be implemented by classes that wish to be notified of actions occuring on a EditableComboBox.
Those classes need to be registered to receive those events, this can be done by calling
EditableComboBox.addEditableComboBoxListener(EditableComboBoxListener).
| Method Summary | |
|---|---|
void |
textFieldCancelled(EditableComboBox source)
Notifies all registered EditableComboBoxListener instances that the text field has been cancelled, that is the 'Escape' key has been pressed in the text field, without the popup menu being visible. |
void |
textFieldValidated(EditableComboBox source)
This method is called when the text field has been validated, that is the 'Enter' key has been pressed in the text field, without the popup menu being visible. |
| Methods inherited from interface com.mucommander.ui.combobox.ComboBoxListener |
|---|
comboBoxSelectionChanged |
| Method Detail |
|---|
void textFieldValidated(EditableComboBox source)
Note: Unlike JComboBox's weird ActionEvent handling, this method is *not* called when 'Enter' is pressed in the combo popup menu.
source - the EditableComboBox containing the JTextField on which the event was triggeredvoid textFieldCancelled(EditableComboBox source)
Note: This method is *not* called when 'Escape' is pressed in the combo popup menu.
source - the EditableComboBox containing the JTextField on which the event was triggered
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard