Class GenericAvailableValuesAspectDefinition

    • Constructor Detail

      • GenericAvailableValuesAspectDefinition

        public GenericAvailableValuesAspectDefinition​(AvailableValuesType availableValuesType)
    • Method Detail

      • handleNullItems

        protected void handleNullItems​(ComponentWrapper componentWrapper,
                                       List<?> items)
        Description copied from class: AvailableValuesAspectDefinition
        Handles null values in the list of available values that is about to be set to the component. By default, the items list is directly passed to the ComponentWrapper without further processing.

        Note that you have to modify the given list of values directly.

        Overrides:
        handleNullItems in class AvailableValuesAspectDefinition<com.vaadin.flow.data.provider.HasListDataView<Object,​?>>
        Parameters:
        componentWrapper - component of which available values should be updated
        items - items to be shown in the ComponentWrapper. May contain null.