Class NodesRemovedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<OrgChart>
com.flowingcode.vaadin.addons.orgchart.event.NodesRemovedEvent
- All Implemented Interfaces:
Serializable
Event fired when a node and its descendants are removed from the organization chart. Contains
information about the removed node.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNodesRemovedEvent(OrgChart source, Integer nodeId, boolean fromClient) Creates a new nodes removed event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
NodesRemovedEvent
Creates a new nodes removed event.- Parameters:
source- the chart component that fired the eventnodeId- the ID of the removed nodefromClient- whether the event originated from the client side
-
-
Method Details
-
getNodeId
Gets the ID of the removed node.- Returns:
- the node ID
-