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.
|
getListCellRendererComponent
public 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.