Class NodeUpdatedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<OrgChart>
com.flowingcode.vaadin.addons.orgchart.event.NodeUpdatedEvent
- All Implemented Interfaces:
Serializable
Event thrown when a node is updated.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNodeUpdatedEvent(OrgChart source, OrgChartItem updatedItem, boolean fromClient) Creates a node updated event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
NodeUpdatedEvent
Creates a node updated event.- Parameters:
source- the chart component that fired the eventupdatedItem- the node being updatedfromClient- whether the event originated from the client side
-
-
Method Details
-
getUpdatedItem
Gets the updated node.- Returns:
- the updated node item
-