Class StudioStandardComponentsPreviewLoader
java.lang.Object
io.jmix.flowui.kit.meta.component.preview.StudioStandardComponentsPreviewLoader
- All Implemented Interfaces:
StudioPreviewComponentLoader
public final class StudioStandardComponentsPreviewLoader
extends Object
implements StudioPreviewComponentLoader
-
Field Summary
Fields inherited from interface io.jmix.flowui.kit.meta.component.preview.StudioPreviewComponentLoader
VIEW_SCHEMA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSupported(org.dom4j.Element element) Define the element that this loader can load.com.vaadin.flow.component.Componentload(org.dom4j.Element componentElement, org.dom4j.Element viewElement) Create vaadin component from component xml element.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.kit.meta.component.preview.StudioPreviewComponentLoader
loadBoolean, loadBoolean, loadClassNames, loadDouble, loadDouble, loadEnabled, loadEnum, loadEnum, loadHeight, loadInteger, loadInteger, loadMaxHeight, loadMaxWidth, loadMinHeight, loadMinWidth, loadSizeAttributes, loadString, loadString, loadString, loadWidth, split, split
-
Constructor Details
-
StudioStandardComponentsPreviewLoader
public StudioStandardComponentsPreviewLoader()
-
-
Method Details
-
isSupported
public boolean isSupported(org.dom4j.Element element) Description copied from interface:StudioPreviewComponentLoaderDefine the element that this loader can load.- Specified by:
isSupportedin interfaceStudioPreviewComponentLoader
-
load
@Nullable public com.vaadin.flow.component.Component load(org.dom4j.Element componentElement, org.dom4j.Element viewElement) Description copied from interface:StudioPreviewComponentLoaderCreate vaadin component from component xml element.- Specified by:
loadin interfaceStudioPreviewComponentLoader- Parameters:
componentElement- xml element of componentviewElement- xml element of view containingcomponentElement- See Also:
-
Element
-