public abstract static class DistributedTree.ListenerAdapter extends Object implements DistributedTree.Listener
| Constructor and Description |
|---|
DistributedTree.ListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
nodeAdded(String node)
Invoked when a new node has been added to the tree.
|
void |
nodeChildAdded(String node,
String childName)
Invoked when a new child node of the listener's target node has been created.
|
void |
nodeChildDeleted(String node,
String childName)
Invoked when a child node of the listener's target node has been deleted.
|
void |
nodeChildUpdated(String node,
String childName)
Invoked when a child node's contents of the listener's target node has been modified.
|
void |
nodeDeleted(String node)
Invoked when a node has been deleted from the tree.
|
void |
nodeUpdated(String node)
Invoked when a node's contents has been modified.
|
public void nodeAdded(String node)
DistributedTree.ListenernodeAdded in interface DistributedTree.Listenernode - The new node's full path.public void nodeUpdated(String node)
DistributedTree.ListenernodeUpdated in interface DistributedTree.Listenernode - The updated node's full path.public void nodeDeleted(String node)
DistributedTree.ListenernodeDeleted in interface DistributedTree.Listenernode - The deleted node's full path.public void nodeChildAdded(String node, String childName)
DistributedTree.ListenernodeAdded will be called on a listener listening on the child node, if one exists.nodeChildAdded in interface DistributedTree.Listenernode - The full path of the parent node.childName - The simple name (without the full path) of the newly added child node.public void nodeChildUpdated(String node, String childName)
DistributedTree.ListenernodeUpdated will be called on a listener listening on the child node, if one exists.nodeChildUpdated in interface DistributedTree.Listenernode - The full path of the parent node.childName - The simple name (without the full path) of the updated node.public void nodeChildDeleted(String node, String childName)
DistributedTree.ListenernodeDeleted will be called on a listener listening on the child node, if one exists.nodeChildDeleted in interface DistributedTree.Listenernode - The full path of the parent node.childName - The simple name (without the full path) of the deleted child node.