Class SchemaElementComboBoxCellRenderer
- java.lang.Object
-
- org.opends.guitools.controlpanel.ui.renderer.CustomListCellRenderer
-
- org.opends.guitools.controlpanel.ui.renderer.SchemaElementComboBoxCellRenderer
-
- All Implemented Interfaces:
ListCellRenderer
public class SchemaElementComboBoxCellRenderer extends CustomListCellRenderer
The cell renderer to be used to render schema elements in a combo box.
-
-
Field Summary
-
Fields inherited from class org.opends.guitools.controlpanel.ui.renderer.CustomListCellRenderer
defaultFont
-
-
Constructor Summary
Constructors Constructor Description SchemaElementComboBoxCellRenderer(JComboBox combo)Constructor of the cell renderer.SchemaElementComboBoxCellRenderer(JList list)Constructor of the cell renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentgetListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)-
Methods inherited from class org.opends.guitools.controlpanel.ui.renderer.CustomListCellRenderer
getStringValue
-
-
-
-
Constructor Detail
-
SchemaElementComboBoxCellRenderer
public SchemaElementComboBoxCellRenderer(JComboBox combo)
Constructor of the cell renderer.- Parameters:
combo- the combo box containing the elements to be rendered.
-
SchemaElementComboBoxCellRenderer
public SchemaElementComboBoxCellRenderer(JList list)
Constructor of the cell renderer.- Parameters:
list- the list containing the elements to be rendered.
-
-
Method Detail
-
getListCellRendererComponent
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
- Specified by:
getListCellRendererComponentin interfaceListCellRenderer- Overrides:
getListCellRendererComponentin classCustomListCellRenderer
-
-