Interface NodeChangeListener<N>
- All Known Implementing Classes:
NodeChangeListener.Base,NodeChangeNotifier,NodeChangeQueue,NodeContextChangeAdapter
public interface NodeChangeListener<N>
A listener for node changes.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA base implementation that can be subclassed. -
Method Summary
Modifier and TypeMethodDescriptionvoidA node was added.voidA node was created.voidA node was destroyed.voidA node was moved.voidA node was removed.voidA node was renamed.voidA node was updated.
-
Method Details
-
onAdd
A node was added.- Parameters:
target- the added nodeparent- the parent nodeprevious- the optional previous node
-
onCreate
A node was created.- Parameters:
target- the created nodeparent- the parent nodeprevious- the optional previous nodename- the name of the created node
-
onRemove
A node was removed.- Parameters:
target- the removed nodeparent- the parent node
-
onDestroy
A node was destroyed.- Parameters:
target- the destroyed nodeparent- the parent node
-
onRename
A node was renamed.- Parameters:
target- the renamed nodeparent- the parent nodename- the new node name
-
onMove
A node was moved.- Parameters:
target- the moved node.from- the previous parentto- the new parentprevious- the optional previous node
-