@decorate_constructor_parameter_types([bool, str])
    def __init__(self, checked=False, user_data='', **kwargs):
        super(CheckBox, self).__init__('checkbox', user_data, **kwargs)
        self.attributes[self.EVENT_ONCHANGE] = \
            "var params={};params['value']=document.getElementById('%(id)s').checked;" \
            "sendCallbackParam('%(id)s','%(evt)s',params);" % {'id': id(self),
                                                               'evt': self.EVENT_ONCHANGE}
        self.set_value(checked)
Invoked by the main method to allow the platform to add in platform-specific options to the
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/CheckBox.__init__--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_controller.py/PlatformController.add_options