private static class ConfirmDeclarationDialog.EnumRenderer<T> extends FreeColComboBoxRenderer<T>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
prefix |
Constructor and Description |
---|
EnumRenderer(java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
setLabelValues(javax.swing.JLabel c,
T value)
Set the text to place in a label.
|
getListCellRendererComponent
public void setLabelValues(javax.swing.JLabel c, T value)
setLabelValues
in class FreeColComboBoxRenderer<T>
c
- The JLabel
to assign.value
- The object to derive a text value from.