Class UIYesNoComboBox.YesNoComboBoxValueAspectDefinition

    • Constructor Detail

      • YesNoComboBoxValueAspectDefinition

        public YesNoComboBoxValueAspectDefinition()
    • Method Detail

      • getConverter

        protected com.vaadin.flow.data.converter.Converter<?,​?> getConverter​(Type presentationType,
                                                                                   Type modelType)
        Description copied from class: ValueAspectDefinition
        Returns a converter that should be used to convert a value of model type to a value of presentation type. Note that the presentation type should match the value type of the input field.

        Uses Converter.identity() by default. Override to add converters.

        Overrides:
        getConverter in class ValueAspectDefinition
        Parameters:
        presentationType - value type of the input field
        modelType - the model type
        Returns:
        a converter from model type to presentation type
        See Also:
        LinkkiConverterRegistry