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