Class ImagedComboBoxCellEditorFactory.ComboImageRenderer
java.lang.Object
common.editors.ImagedComboBoxCellEditorFactory.ComboImageRenderer
- All Implemented Interfaces:
ListCellRenderer
- Enclosing class:
ImagedComboBoxCellEditorFactory
protected class ImagedComboBoxCellEditorFactory.ComboImageRenderer
extends Object
implements ListCellRenderer
This class is used to display a custom renderer into the comboBox with
Jlabels generated by getDrawComponent method.
- Author:
- Bertoli Marco Date: 11-may-2006 Time: 17.03.54
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) Simply uses value param as a renderer (as we pass a JLabel)
-
Constructor Details
-
ComboImageRenderer
protected ComboImageRenderer()
-
-
Method Details
-
getListCellRendererComponent
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) Simply uses value param as a renderer (as we pass a JLabel)- Specified by:
getListCellRendererComponentin interfaceListCellRenderer
-