Class CheckableLabelComponent<M,​VM extends CheckableLabelViewModel>

    • Method Detail

      • createCheckedLabelViewModel

        protected VM createCheckedLabelViewModel()
        Creates view model.
        Returns:
        the checked label view model, cannot be null
      • convertBooleanToValue

        protected M convertBooleanToValue​(Boolean viewValue)
        Converts the checkbox state value to model value.
        Parameters:
        value - the boolean value, cannot be null
        Returns:
        the model value, cannot be null
      • convertValueToBoolean

        protected Boolean convertValueToBoolean​(M modelValue)
        Converts the model value to the checkbox state.
        Parameters:
        modelValue - the model value, cannot be null
        Returns:
        the boolean value, cannot be null