Class AutoCompComboBoxEditor<E>
- java.lang.Object
-
- javax.swing.plaf.basic.BasicComboBoxEditor
-
- org.openstreetmap.josm.gui.widgets.JosmComboBoxEditor
-
- org.openstreetmap.josm.gui.tagging.ac.AutoCompComboBoxEditor<E>
-
- Type Parameters:
E
- the type of the items in the editor
- All Implemented Interfaces:
FocusListener
,EventListener
,ComboBoxEditor
public class AutoCompComboBoxEditor<E> extends JosmComboBoxEditor
AComboBoxEditor
that uses anAutoCompTextField
.This lets us stick an
AutoCompTextField
into aJComboBox
. This is not used forAutoCompComboBox
.- 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 AutoCompComboBoxEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AutoCompTextField<E>
createEditorComponent()
AutoCompTextField<E>
getEditorComponent()
-
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
addActionListener, focusGained, focusLost, getItem, removeActionListener, selectAll, setItem
-
-
-
-
Constructor Detail
-
AutoCompComboBoxEditor
public AutoCompComboBoxEditor()
-
-
Method Detail
-
createEditorComponent
protected AutoCompTextField<E> createEditorComponent()
- Overrides:
createEditorComponent
in classJosmComboBoxEditor
-
getEditorComponent
public AutoCompTextField<E> getEditorComponent()
- Specified by:
getEditorComponent
in interfaceComboBoxEditor
- Overrides:
getEditorComponent
in classJosmComboBoxEditor
-
-