Package io.jmix.aichat.xml.layout.loader
Class AiUploadTriggerLoader
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<AiUploadTrigger>
io.jmix.aichat.xml.layout.loader.AiUploadTriggerLoader
- All Implemented Interfaces:
ComponentLoader<AiUploadTrigger>
Loads
AiUploadTrigger from a view descriptor.
Resolves the referenced AiChat through a pre-init task - after the whole
component tree exists - either by the aiChatId attribute or, when it is absent,
by walking up to the enclosing chat.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classBinds the chat named by theaiChatIdattribute, resolved by id across the view.protected classBinds the nearest enclosing chat by walking up the parent chain, used when noaiChatIdis declared.Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.AutowireTask, ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.FragmentContext, ComponentLoader.InitTask -
Field Summary
FieldsFields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, componentLoaderSupport, context, element, factory, loaderResolver, loaderSupport, resultComponent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AiUploadTriggerprotected IconLoaderSupportvoidLoads component properties by XML definition.Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, getContext, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, initComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadResourceString, loadString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setFactory, setLoaderResolver, setLoaderSupport
-
Field Details
-
iconLoaderSupport
-
-
Constructor Details
-
AiUploadTriggerLoader
public AiUploadTriggerLoader()
-
-
Method Details
-
createComponent
- Specified by:
createComponentin classAbstractComponentLoader<AiUploadTrigger>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoaderLoads component properties by XML definition. -
iconLoaderSupport
-