Interface ComponentLoader.InitTask

All Known Implementing Classes:
AbstractAssignActionInitTask, AbstractInitTask, AssignActionInitTask, AssignActionsInitTask, AssignDropdownButtonActionInitTask, AssignGridColumnVisibilityPropertiesInitTask, DataGridFilterUrlQueryParametersBinderProvider.DataGridFilterQueryParametersBinderInitTask, DataLoadCoordinatorFacetProvider.AutoConfigurationInitTask, DataLoadCoordinatorFacetProvider.OnComponentValueChangedLoadTriggerInitTask, DataLoadCoordinatorFacetProvider.OnContainerItemChangedLoadTriggerInitTask, DataLoadCoordinatorFacetProvider.OnViewEventLoadTriggerInitTask, FocusComponentInitTask, FullCalendarUrlQueryParametersBinderProvider.FullCalendarQueryParametersBinderInitTask, GenericFilterUrlQueryParametersBinderProvider.GenericFilterQueryParametersBinderInitTask, PaginationUrlQueryParametersBinderProvider.PaginationQueryParametersBinderInitTask, PropertyFilterUrlQueryParametersBinderProvider.PropertyFilterQueryParametersBinderInitTask
Enclosing interface:
ComponentLoader<T extends com.vaadin.flow.component.Component>

public static interface ComponentLoader.InitTask
InitTasks are used to perform deferred initialization of visual components.
  • Method Details

    • execute

      @Deprecated(since="2.3", forRemoval=true) void execute(ComponentLoader.ComponentContext context, View<?> view)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use execute(Context) instead
      This method will be invoked after view initialization.
      Parameters:
      context - loader context
      view - view
    • execute

      default void execute(ComponentLoader.Context context)
      This method will be invoked after component's content initialization.
      Parameters:
      context - loader context