Package io.jmix.kanbanflowui.kit.meta
Class StudioKanbanComponentPreviewLoader
java.lang.Object
io.jmix.kanbanflowui.kit.meta.StudioKanbanComponentPreviewLoader
- All Implemented Interfaces:
StudioPreviewComponentLoader
public class StudioKanbanComponentPreviewLoader
extends Object
implements StudioPreviewComponentLoader
Preview loader used in Studio. For internal use only.
Source loader io.jmix.kanbanflowui.component.loader.KanbanLoader
.
-
Field Summary
Fields inherited from interface io.jmix.flowui.kit.meta.component.preview.StudioPreviewComponentLoader
VIEW_SCHEMA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSupported
(org.dom4j.Element element) Define the element that this loader can load.com.vaadin.flow.component.Component
load
(org.dom4j.Element componentElement, org.dom4j.Element viewElement) Create vaadin component from component xml element.protected void
loadAttributes
(JmixKanban<?> kanban, org.dom4j.Element element) protected KanbanColumn
loadColumn
(org.dom4j.Element columnElement) protected void
loadColumns
(JmixKanban<?> kanban, org.dom4j.Element element) protected void
loadExplicitColumns
(HasKanbanColumns hasKanbanColumns, org.dom4j.Element columnsElement) protected void
loadJsFunction
(org.dom4j.Element element, String attributeName, Consumer<String> setter) protected KanbanSwimlane
loadSwimlane
(org.dom4j.Element swimlaneElement) protected void
loadSwimlanes
(JmixKanban<?> kanban, org.dom4j.Element element) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
StudioKanbanComponentPreviewLoader
public StudioKanbanComponentPreviewLoader()
-
-
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 interfaceStudioPreviewComponentLoader
-
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 interfaceStudioPreviewComponentLoader
- Parameters:
componentElement
- xml element of componentviewElement
- xml element of view containingcomponentElement
- See Also:
-
Element
-
loadAttributes
-
loadColumns
-
loadSwimlanes
-
loadExplicitColumns
protected void loadExplicitColumns(HasKanbanColumns hasKanbanColumns, org.dom4j.Element columnsElement) -
loadColumn
-
loadSwimlane
-
loadJsFunction
-