private static class SelectDestinationDialog.LocationRenderer extends FreeColComboBoxRenderer<SelectDestinationDialog.Destination>
| Modifier | Constructor and Description |
|---|---|
private |
LocationRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setLabelValues(javax.swing.JLabel label,
SelectDestinationDialog.Destination value)
Set the text to place in a label.
|
getListCellRendererComponentpublic void setLabelValues(javax.swing.JLabel label,
SelectDestinationDialog.Destination value)
setLabelValues in class FreeColComboBoxRenderer<SelectDestinationDialog.Destination>label - The JLabel to assign.value - The object to derive a text value from.