Constructor
(protected) new AddNodeEvent(newNode, prev, next)
Parameters:
Name | Type | Description |
---|---|---|
newNode |
AbstractNode | The new node that has been added |
prev |
AbstractNode | newNode's previous node |
next |
AbstractNode | newNode's next node |
- Source:
Extends
- Event
Methods
getNewNode() → {AbstractNode}
Returns the newly added node that corresponds to the event.
- Source:
Returns:
the newly added node.
- Type
- AbstractNode
getNext() → {AbstractNode}
Returns the next node of the newly added node that corresponds to the event.
- Source:
Returns:
the next node.
- Type
- AbstractNode
getPrev() → {AbstractNode}
Returns the previous node of the newly added node that corresponds to the
event.
- Source:
Returns:
the prev node.
- Type
- AbstractNode