Class JosmComboBoxEditor
- java.lang.Object
-
- javax.swing.plaf.basic.BasicComboBoxEditor
-
- org.openstreetmap.josm.gui.widgets.JosmComboBoxEditor
-
- All Implemented Interfaces:
FocusListener
,EventListener
,ComboBoxEditor
- Direct Known Subclasses:
AutoCompComboBoxEditor
public class JosmComboBoxEditor extends BasicComboBoxEditor
AComboBoxEditor
that uses anJosmTextField
.This lets us stick a
JosmTextField
into aJComboBox
. Used inJosmComboBox
.- Since:
- 18221
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
BasicComboBoxEditor.UIResource
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
editor
-
-
Constructor Summary
Constructors Constructor Description JosmComboBoxEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JosmTextField
createEditorComponent()
JosmTextField
getEditorComponent()
-
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
addActionListener, focusGained, focusLost, getItem, removeActionListener, selectAll, setItem
-
-
-
-
Constructor Detail
-
JosmComboBoxEditor
public JosmComboBoxEditor()
-
-
Method Detail
-
createEditorComponent
protected JosmTextField createEditorComponent()
- Overrides:
createEditorComponent
in classBasicComboBoxEditor
-
getEditorComponent
public JosmTextField getEditorComponent()
- Specified by:
getEditorComponent
in interfaceComboBoxEditor
- Overrides:
getEditorComponent
in classBasicComboBoxEditor
-
-