Class ElementSelectedListener.ElementSelectedEvent
java.lang.Object
io.jmix.bpmui.uicomponent.bpmnmodeler.ElementSelectedListener.ElementSelectedEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ElementSelectedListener
public static class ElementSelectedListener.ElementSelectedEvent
extends Object
implements Serializable
Represents an event that is triggered when an element is selected in the BPMN diagram.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionElementSelectedEvent
(String elementType, String businessObjectJson) Constructs anElementSelectedEvent
with the specified element type and business object JSON. -
Method Summary
Modifier and TypeMethodDescriptionGets the JSON representation of the business object associated with the selected element.Gets the type of the selected BPMN element.
-
Field Details
-
elementType
The type of the selected BPMN element. -
businessObjectJson
JSON representation of the business object associated with the selected element.
-
-
Constructor Details
-
ElementSelectedEvent
Constructs anElementSelectedEvent
with the specified element type and business object JSON.- Parameters:
elementType
- The type of the selected BPMN element.businessObjectJson
- JSON representation of the business object associated with the selected element.
-
-
Method Details
-
getBusinessObjectJson
Gets the JSON representation of the business object associated with the selected element.- Returns:
- The business object JSON.
-
getElementType
Gets the type of the selected BPMN element.- Returns:
- The element type.
-