Interface ComponentGenerationStrategy

All Known Implementing Classes:
AbstractComponentGenerationStrategy, AppSettingsComponentGenerationStrategy, BulkEditViewComponentGenerationStrategy, CustomDatatypesComponentGenerationStrategy, DefaultComponentGenerationStrategy, DynAttrComponentGenerationStrategy, DynAttrPropertyFilterComponentGenerationStrategy, InputDialogGenerationStrategy, JpqlFilterComponentGenerationStrategy, MultiValueSelectDialogGenerationStrategy, PropertyFilterComponentGenerationStrategy, WebdavComponentGenerationStrategy

public interface ComponentGenerationStrategy
A strategy for creating FlowUi components by UiComponentsGenerator.
  • Method Details

    • createComponent

      @Nullable com.vaadin.flow.component.Component createComponent(ComponentGenerationContext context)
      Creates a component according to the given ComponentGenerationContext. If the strategy is not applicable to the given context it should return null value.
      Parameters:
      context - the context instance
      Returns:
      created component