Class AbstractDetailsLoader<C extends com.vaadin.flow.component.details.Details>
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader<C>
io.jmix.flowui.xml.layout.loader.container.AbstractDetailsLoader<C>
- All Implemented Interfaces:
ComponentLoader<C>
- Direct Known Subclasses:
AccordionPanelLoader
,DetailsLoader
public abstract class AbstractDetailsLoader<C extends com.vaadin.flow.component.details.Details>
extends AbstractContainerLoader<C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.InitTask
-
Field Summary
Fields inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader
pendingLoadComponents
Fields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, componentLoaderSupport, context, element, environment, factory, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createContent
(com.vaadin.flow.component.details.Details resultComponent, org.dom4j.Element element) void
Creates result component by XML-elementprotected boolean
isChildElementIgnored
(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.void
Loads component properties by XML definition.Methods inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader
createSubComponents, loadSubComponents, loadSubComponentsAndExpand
Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, createComponent, getComponentContext, getContext, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
-
Constructor Details
-
AbstractDetailsLoader
public AbstractDetailsLoader()
-
-
Method Details
-
initComponent
public void initComponent()Description copied from interface:ComponentLoader
Creates result component by XML-element- Specified by:
initComponent
in interfaceComponentLoader<C extends com.vaadin.flow.component.details.Details>
- Overrides:
initComponent
in classAbstractComponentLoader<C extends com.vaadin.flow.component.details.Details>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
createContent
protected void createContent(com.vaadin.flow.component.details.Details resultComponent, org.dom4j.Element element) -
isChildElementIgnored
protected boolean isChildElementIgnored(org.dom4j.Element subElement) Description copied from class:AbstractContainerLoader
Checks if child element should have a separate loader or not. For instance, if a child element doesn't represent a UI component.- Overrides:
isChildElementIgnored
in classAbstractContainerLoader<C extends com.vaadin.flow.component.details.Details>
- Parameters:
subElement
- the element to be checked- Returns:
true
if child element should have no separate loader,false
otherwise
-