Interface ReplaceObserver


public interface ReplaceObserver
An observer that is notified whenever a child node is replaced. Note this is not called if the RootNode does not have a CallTarget yet.
Since:
0.8 or earlier
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    nodeReplaced(Node oldNode, Node newNode, CharSequence reason)
    Returns true if the event is consumed and no parent nodes should be notified by for replaces.
  • Method Details

    • nodeReplaced

      boolean nodeReplaced(Node oldNode, Node newNode, CharSequence reason)
      Returns true if the event is consumed and no parent nodes should be notified by for replaces. Returns false if the parent Node or CallTarget should get notified.
      Since:
      0.8 or earlier