Package io.jmix.flowui.xml.layout
Interface ComponentLoader.Context
- All Known Subinterfaces:
ComponentLoader.ComponentContext,ComponentLoader.FragmentContext
- All Known Implementing Classes:
AbstractLoaderContext,ComponentLoaderContext,FragmentLoaderContext
- Enclosing interface:
- ComponentLoader<T extends com.vaadin.flow.component.Component>
public static interface ComponentLoader.Context
-
Method Summary
Modifier and TypeMethodDescriptionvoidAddsComponentLoader.InitTaskthat will be executed according to the origin component lifecycle.voidExecutes all addedComponentLoader.InitTaskscom.vaadin.flow.component.Component
-
Method Details
-
getOrigin
com.vaadin.flow.component.Component getOrigin()- Returns:
- a target component for which an XML descriptor is processed
-
getFullOriginId
String getFullOriginId()- Returns:
- a target component id, including parent component ids
-
getParentContext
- Returns:
- parent loader context
-
getMessageGroup
String getMessageGroup()- Returns:
- a message group associated with XML descriptor
-
addInitTask
AddsComponentLoader.InitTaskthat will be executed according to the origin component lifecycle.- Parameters:
task- a task to add
-
executeInitTasks
void executeInitTasks()Executes all addedComponentLoader.InitTasks -
getActionsHolder
HasActions getActionsHolder()- Returns:
- an object that stores actions associated with the origin component
-
getDataHolder
HasDataComponents getDataHolder()- Returns:
- an object that stores data components associated with the origin component
-