Class XmlSchemaChangedEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<BpmnModelerImpl>
io.jmix.bpmflowui.uicomponent.bpmnmodeler.event.XmlSchemaChangedEvent
All Implemented Interfaces:
Serializable

@DomEvent("BpmSchemaChangedEvent") public class XmlSchemaChangedEvent extends com.vaadin.flow.component.ComponentEvent<BpmnModelerImpl>
Represents an event that is triggered when the XML schema associated with the BPMN modeler changes. This event is associated with the "BpmSchemaChangedEvent" DOM event and carries information about the updated XML schema.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    XmlSchemaChangedEvent(BpmnModelerImpl source, boolean fromClient, String xmlSchema)
    Creates a new XML schema changed event using the given source, indicator of whether the event originated from the client side or the server side, and the updated XML schema.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the updated XML schema associated with the BPMN modeler.

    Methods inherited from class com.vaadin.flow.component.ComponentEvent

    getSource, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • XmlSchemaChangedEvent

      public XmlSchemaChangedEvent(BpmnModelerImpl source, boolean fromClient, @EventData("event.xmlSchema") String xmlSchema)
      Creates a new XML schema changed event using the given source, indicator of whether the event originated from the client side or the server side, and the updated XML schema.
      Parameters:
      source - The source component triggering the event.
      fromClient - true if the event originated from the client side, false otherwise.
      xmlSchema - The updated XML schema associated with the BPMN modeler.
  • Method Details

    • getXmlSchema

      public String getXmlSchema()
      Gets the updated XML schema associated with the BPMN modeler.
      Returns:
      The updated XML schema.