Class CardLoader
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<com.vaadin.flow.component.card.Card>
io.jmix.flowui.xml.layout.loader.container.CardLoader
- All Implemented Interfaces:
ComponentLoader<com.vaadin.flow.component.card.Card>
-
Nested Class Summary
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, environment, factory, loaderResolver, loaderSupport, resultComponent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.card.Cardprotected voidcreateSubComponent(String elementName, Consumer<com.vaadin.flow.component.Component> setter) voidCreates result component by XML-elementvoidLoads component properties by XML definition.protected voidprotected voidsubTitleSetter(String subTitle) protected voidtitleSetter(String title) protected voidvalidateChildElement(org.dom4j.Element element) Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, getComponentContext, getContext, getElement, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadResourceString, loadString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
-
Field Details
-
singleChildElements
-
pendingLoadComponents
-
-
Constructor Details
-
CardLoader
public CardLoader()
-
-
Method Details
-
createComponent
protected com.vaadin.flow.component.card.Card createComponent()- Specified by:
createComponentin classAbstractComponentLoader<com.vaadin.flow.component.card.Card>
-
initComponent
public void initComponent()Description copied from interface:ComponentLoaderCreates result component by XML-element- Specified by:
initComponentin interfaceComponentLoader<com.vaadin.flow.component.card.Card>- Overrides:
initComponentin classAbstractComponentLoader<com.vaadin.flow.component.card.Card>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoaderLoads component properties by XML definition.- See Also:
-
createSubComponent
-
loadSubComponents
protected void loadSubComponents() -
titleSetter
-
subTitleSetter
-
validateChildElement
protected void validateChildElement(org.dom4j.Element element)
-