Class UnitTypeOptionUI

    • Field Detail

      • box

        private final javax.swing.JComboBox<UnitType> box
    • Constructor Detail

      • UnitTypeOptionUI

        public UnitTypeOptionUI​(UnitTypeOption option,
                                boolean editable)
        Creates a new UnitTypeOptionUI for the given UnitTypeOption.
        Parameters:
        option - The UnitTypeOption to make a user interface for.
        editable - boolean whether user can modify the setting