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
  • Constructor Details

    • StudioStandardComponentsPreviewLoader

      public StudioStandardComponentsPreviewLoader()
  • Method Details

    • isSupported

      public boolean isSupported(org.dom4j.Element element)
      Description copied from interface: StudioPreviewComponentLoader
      Define the element that this loader can load.
      Specified by:
      isSupported in interface StudioPreviewComponentLoader
    • load

      @Nullable public com.vaadin.flow.component.Component load(org.dom4j.Element componentElement, org.dom4j.Element viewElement)
      Description copied from interface: StudioPreviewComponentLoader
      Create vaadin component from component xml element.
      Specified by:
      load in interface StudioPreviewComponentLoader
      Parameters:
      componentElement - xml element of component
      viewElement - xml element of view containing componentElement
      See Also:
      • Element