Class UnitTypeOptionUI.ChoiceRenderer

    • Constructor Detail

      • ChoiceRenderer

        private ChoiceRenderer()
    • Method Detail

      • setLabelValues

        public void setLabelValues​(javax.swing.JLabel label,
                                   UnitType value)
        Set the text to place in a label.
        Overrides:
        setLabelValues in class FreeColComboBoxRenderer<UnitType>
        Parameters:
        label - The JLabel to assign.
        value - The object to derive a text value from.