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:
-
DomEvent
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionXmlSchemaChangedEvent
(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 TypeMethodDescriptionGets 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
-
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
Gets the updated XML schema associated with the BPMN modeler.- Returns:
- The updated XML schema.
-