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.JLabellabelprivate javax.swing.JPanelpanelprivate java.lang.ObjectselectedItem
-
Constructor Summary
Constructors Constructor Description CustomComboBoxEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ComponentgetEditorComponent()java.lang.ObjectgetItem()voidsetItem(java.lang.Object item)
-
-
-
Method Detail
-
getEditorComponent
public java.awt.Component getEditorComponent()
- Specified by:
getEditorComponentin interfacejavax.swing.ComboBoxEditor- Overrides:
getEditorComponentin classjavax.swing.plaf.basic.BasicComboBoxEditor
-
getItem
public java.lang.Object getItem()
- Specified by:
getItemin interfacejavax.swing.ComboBoxEditor- Overrides:
getItemin classjavax.swing.plaf.basic.BasicComboBoxEditor
-
setItem
public void setItem(java.lang.Object item)
- Specified by:
setItemin interfacejavax.swing.ComboBoxEditor- Overrides:
setItemin classjavax.swing.plaf.basic.BasicComboBoxEditor
-
-