public final class NodeEventArgs extends ItemEventArgs<INode>
ItemEventArgs class that is bound to the INode type and carries additional
information about the parent node and the group node status.
Since for some events (NodeRemoved,
IsGroupNodeChanged,
ParentChanged) it is unclear which Parent
or IsGroupNode the node had before the event this event can be used to carry exactly that
information.
EMPTY| Constructor and Description |
|---|
NodeEventArgs(INode item,
INode oldParent,
boolean oldIsGroupNode)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
INode |
getParent()
The parent of the
node before this event. |
boolean |
isGroupNode()
Whether the
node was a group node before this event. |
getItem