Class: RemoveNodeEvent

RemoveNodeEvent

RemoveNodeEvent indicates that a node has been removed from the graph. This also implies that prev/next edges of the prev and next nodes of the removed node have been change accordingly

Constructor

(protected) new RemoveNodeEvent(removedNode, prev, next)

Parameters:
Name Type Description
removedNode AbstractNode The new node that has been removed
prev AbstractNode newNode's previous node
next AbstractNode newNode's next node
Source:

Extends

  • Event

Methods

getNext() → {AbstractNode}

Returns the next node of the removed node that corresponds to the event.
Source:
Returns:
the next node.
Type
AbstractNode

getPrev() → {AbstractNode}

Returns the previous node of the removed node that corresponds to the event.
Source:
Returns:
the prev node.
Type
AbstractNode

getRemovedNode() → {AbstractNode}

Returns the removed node that corresponds to the event.
Source:
Returns:
the removed node.
Type
AbstractNode