Package io.jmix.flowui.xml.layout
Interface ComponentLoader.ComponentContext
- All Superinterfaces:
ComponentLoader.Context
- All Known Implementing Classes:
ComponentLoaderContext
- Enclosing interface:
ComponentLoader<T extends com.vaadin.flow.component.Component>
@NullMarked
public static interface ComponentLoader.ComponentContext
extends ComponentLoader.Context
Represents a context for loading and initializing UI components in
View.-
Method Summary
Modifier and TypeMethodDescriptionvoidAddComponentLoader.AutowireTaskthat will be executed according to the origin component lifecycle.voidExecuted all addedComponentLoader.AutowireTasksView<?> getView()Methods inherited from interface io.jmix.flowui.xml.layout.ComponentLoader.Context
addInitTask, addPreInitTask, executeInitTasks, executePreInitTasks, getActionsHolder, getDataHolder, getFullOriginId, getMessageGroup, getOrigin, getParentContext
-
Method Details
-
getView
View<?> getView()- Returns:
- an origin view
-
addAutowireTask
AddComponentLoader.AutowireTaskthat will be executed according to the origin component lifecycle.- Parameters:
task- a task to add
-
executeAutowireTasks
void executeAutowireTasks()Executed all addedComponentLoader.AutowireTasks
-