Package jadex.commons.gui.autocombo
Class ComboBoxEditor
- java.lang.Object
-
- javax.swing.plaf.basic.BasicComboBoxEditor
-
- javax.swing.plaf.metal.MetalComboBoxEditor
-
- jadex.commons.gui.autocombo.ComboBoxEditor
-
- All Implemented Interfaces:
java.awt.event.FocusListener
,java.util.EventListener
,javax.swing.ComboBoxEditor
public class ComboBoxEditor extends javax.swing.plaf.metal.MetalComboBoxEditor
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractAutoComboModel<java.lang.Object>
model
The model.protected java.lang.Object
val
The value.
-
Constructor Summary
Constructors Constructor Description ComboBoxEditor(AbstractAutoComboModel<?> model)
Create a new editor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getItem()
Get the item.void
setItem(java.lang.Object obj)
Set the item.
-
-
-
Field Detail
-
val
protected java.lang.Object val
The value.
-
model
protected AbstractAutoComboModel<java.lang.Object> model
The model.
-
-
Constructor Detail
-
ComboBoxEditor
public ComboBoxEditor(AbstractAutoComboModel<?> model)
Create a new editor.
-
-
Method Detail
-
setItem
public void setItem(java.lang.Object obj)
Set the item.- Specified by:
setItem
in interfacejavax.swing.ComboBoxEditor
- Overrides:
setItem
in classjavax.swing.plaf.basic.BasicComboBoxEditor
-
getItem
public java.lang.Object getItem()
Get the item.- Specified by:
getItem
in interfacejavax.swing.ComboBoxEditor
- Overrides:
getItem
in classjavax.swing.plaf.basic.BasicComboBoxEditor
-
-