Package fr.iut.tetris.vues
Class CustomComboBoxEditor
- java.lang.Object
-
- javax.swing.plaf.basic.BasicComboBoxEditor
-
- fr.iut.tetris.vues.CustomComboBoxEditor
-
- All Implemented Interfaces:
java.awt.event.FocusListener
,java.util.EventListener
,javax.swing.ComboBoxEditor
class CustomComboBoxEditor extends javax.swing.plaf.basic.BasicComboBoxEditor
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JLabel
label
private javax.swing.JPanel
panel
private java.lang.Object
selectedItem
-
Constructor Summary
Constructors Constructor Description CustomComboBoxEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
getEditorComponent()
java.lang.Object
getItem()
void
setItem(java.lang.Object item)
-
-
-
Method Detail
-
getEditorComponent
public java.awt.Component getEditorComponent()
- Specified by:
getEditorComponent
in interfacejavax.swing.ComboBoxEditor
- Overrides:
getEditorComponent
in classjavax.swing.plaf.basic.BasicComboBoxEditor
-
getItem
public java.lang.Object getItem()
- Specified by:
getItem
in interfacejavax.swing.ComboBoxEditor
- Overrides:
getItem
in classjavax.swing.plaf.basic.BasicComboBoxEditor
-
setItem
public void setItem(java.lang.Object item)
- Specified by:
setItem
in interfacejavax.swing.ComboBoxEditor
- Overrides:
setItem
in classjavax.swing.plaf.basic.BasicComboBoxEditor
-
-