public class SchemaElementComboBoxCellRenderer extends CustomListCellRenderer
categoryFont, defaultFont, separator| Constructor and Description |
|---|
SchemaElementComboBoxCellRenderer(JComboBox combo)
Constructor of the cell renderer.
|
SchemaElementComboBoxCellRenderer(JList list)
Constructor of the cell renderer.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus) |
getStringValuepublic SchemaElementComboBoxCellRenderer(JComboBox combo)
combo - the combo box containing the elements to be rendered.public SchemaElementComboBoxCellRenderer(JList list)
list - the list containing the elements to be rendered.public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRenderergetListCellRendererComponent in class CustomListCellRendererCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.