private static class ModOptionUI.ChoiceRenderer extends FreeColComboBoxRenderer
| Modifier | Constructor and Description |
|---|---|
private |
ModOptionUI.ChoiceRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setLabelValues(javax.swing.JLabel label,
java.lang.Object value)
Set the text to place in a label.
|
getListCellRendererComponentpublic void setLabelValues(javax.swing.JLabel label,
java.lang.Object value)
FreeColComboBoxRenderersetLabelValues in class FreeColComboBoxRendererlabel - The JLabel to assign.value - The object to derive a text value from.