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:
  • Field Details

  • Constructor Details

    • BpmnViewerFragment

      public BpmnViewerFragment()
  • Method Details

    • getBpmnXml

      @Nullable public String getBpmnXml()
      Returns:
      currently set BPMN XML or null if not set
    • setBpmnXml

      public void setBpmnXml(@Nullable String bpmnXml)
      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 the BpmnXmlImportedEvent.
      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)