Package net.sf.freecol.client.gui.option
Class ModOptionUI.ModOptionRenderer
- java.lang.Object
-
- net.sf.freecol.client.gui.plaf.FreeColComboBoxRenderer<ModOption>
-
- net.sf.freecol.client.gui.option.ModOptionUI.ModOptionRenderer
-
- All Implemented Interfaces:
javax.swing.ListCellRenderer<ModOption>
,javax.swing.plaf.UIResource
- Enclosing class:
- ModOptionUI
private static class ModOptionUI.ModOptionRenderer extends FreeColComboBoxRenderer<ModOption>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ModOptionRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setLabelValues(javax.swing.JLabel label, ModOption value)
Set the text to place in a label.-
Methods inherited from class net.sf.freecol.client.gui.plaf.FreeColComboBoxRenderer
getListCellRendererComponent
-
-
-
-
Method Detail
-
setLabelValues
public void setLabelValues(javax.swing.JLabel label, ModOption value)
Set the text to place in a label.- Overrides:
setLabelValues
in classFreeColComboBoxRenderer<ModOption>
- Parameters:
label
- TheJLabel
to assign.value
- The object to derive a text value from.
-
-