Class BpmnViewerFragment
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.fragment.Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
io.jmix.bpmflowui.view.bpmnviewer.BpmnViewerFragment
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,FacetOwner,FragmentOwner,Serializable
public class BpmnViewerFragment
extends Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.fragment.Fragment
Fragment.ReadyEvent -
Field Summary
FieldsFields inherited from class io.jmix.flowui.fragment.Fragment
fragmentActions, fragmentData, fragmentFacets, parentController, uiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddBpmnXmlImportedListener(com.vaadin.flow.component.ComponentEventListener<BpmnXmlImportedEvent> listener) Adds a listener for theBpmnXmlImportedEvent.voidonFitSchemaButtonClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) voidonZoomInButtonClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) voidonZoomOutButtonClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) voidsetBpmnXml(String bpmnXml) Sets the BPMN XML to be displayed.Methods inherited from class io.jmix.flowui.fragment.Fragment
addReadyListener, findInnerComponent, getFragmentActions, getFragmentData, getFragmentFacets, getInnerComponent, getParentController, initContent, onAttach, onDetach, setFragmentActions, setFragmentData, setFragmentFacets, setParentController, setUiComponentsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface io.jmix.flowui.facet.FacetOwner
getIdMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
bpmnViewer
-
-
Constructor Details
-
BpmnViewerFragment
public BpmnViewerFragment()
-
-
Method Details
-
getBpmnXml
- Returns:
- currently set BPMN XML or
nullif not set
-
setBpmnXml
Sets the BPMN XML to be displayed.- Parameters:
bpmnXml- the BPMN XML to be set
-
addBpmnXmlImportedListener
public com.vaadin.flow.shared.Registration addBpmnXmlImportedListener(com.vaadin.flow.component.ComponentEventListener<BpmnXmlImportedEvent> listener) Adds a listener for theBpmnXmlImportedEvent.- Parameters:
listener- listener to be added- Returns:
- a registration object for removing the listener
-
onZoomInButtonClick
@Subscribe(id="zoomInButton", subject="clickListener") public void onZoomInButtonClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
onZoomOutButtonClick
@Subscribe(id="zoomOutButton", subject="clickListener") public void onZoomOutButtonClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
onFitSchemaButtonClick
@Subscribe(id="fitSchemaButton", subject="clickListener") public void onFitSchemaButtonClick(com.vaadin.flow.component.ClickEvent<JmixButton> event)
-