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.Listener
nodeAdded
in interface DistributedTree.Listener
node
- The new node's full path.public void nodeUpdated(String node)
DistributedTree.Listener
nodeUpdated
in interface DistributedTree.Listener
node
- The updated node's full path.public void nodeDeleted(String node)
DistributedTree.Listener
nodeDeleted
in interface DistributedTree.Listener
node
- The deleted node's full path.public void nodeChildAdded(String node, String childName)
DistributedTree.Listener
nodeAdded
will be called on a listener listening on the child node, if one exists.nodeChildAdded
in interface DistributedTree.Listener
node
- 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.Listener
nodeUpdated
will be called on a listener listening on the child node, if one exists.nodeChildUpdated
in interface DistributedTree.Listener
node
- 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.Listener
nodeDeleted
will be called on a listener listening on the child node, if one exists.nodeChildDeleted
in interface DistributedTree.Listener
node
- The full path of the parent node.childName
- The simple name (without the full path) of the deleted child node.