Interface NodeStateListener

    • Method Detail

      • nodeAdded

        void nodeAdded​(NodeState state,
                       Name name,
                       int index,
                       NodeId id)
        Called when a child node has been added
        Parameters:
        state - node state that changed
        name - name of node that was added
        index - index of new node
        id - id of new node
      • nodeModified

        void nodeModified​(NodeState state)
        Called when a node has been modified, typically as a result of removal or addition of a child node.

        Please note, that this method is not called if ItemStateListener.stateModified(ItemState) was called.

        Parameters:
        state - node state that changed
      • nodesReplaced

        void nodesReplaced​(NodeState state)
        Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.
        Parameters:
        state - node state that changed
      • nodeRemoved

        void nodeRemoved​(NodeState state,
                         Name name,
                         int index,
                         NodeId id)
        Called when a child node has been removed
        Parameters:
        state - node state that changed
        name - name of node that was removed
        index - index of removed node
        id - id of removed node