Class DtMappedCheckboxComponent<T>

    • Constructor Detail

      • DtMappedCheckboxComponent

        public DtMappedCheckboxComponent​(ILabeledParametrization parameterization)
        Creates a new instance with parameterization.
        Parameters:
        parameterization - the parameterization.
      • DtMappedCheckboxComponent

        public DtMappedCheckboxComponent()
        Creates a new instance.
    • Method Detail

      • convertBooleanToValue

        protected abstract T convertBooleanToValue​(Boolean value)
        Converts the checkbox state value to model value.
        Parameters:
        value - the boolean value
        Returns:
        the model value
      • convertValueToBoolean

        protected abstract boolean convertValueToBoolean​(T modelValue)
        Converts the model value to the checkbox state.
        Parameters:
        modelValue - the model value
        Returns:
        the boolean value