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

public class NodeUpdatedEvent extends ComponentEvent<OrgChart>
Event thrown when a node is updated.
See Also:
  • Constructor Details

    • NodeUpdatedEvent

      public NodeUpdatedEvent(OrgChart source, OrgChartItem updatedItem, boolean fromClient)
      Creates a node updated event.
      Parameters:
      source - the chart component that fired the event
      updatedItem - the node being updated
      fromClient - whether the event originated from the client side
  • Method Details

    • getUpdatedItem

      public OrgChartItem getUpdatedItem()
      Gets the updated node.
      Returns:
      the updated node item