Class AstObserverAdapter

    • Constructor Detail

      • AstObserverAdapter

        public AstObserverAdapter()
    • Method Detail

      • propertyChange

        public void propertyChange​(Node observedNode,
                                   ObservableProperty property,
                                   Object oldValue,
                                   Object newValue)
        Description copied from interface: AstObserver
        The value of a property is changed
        Specified by:
        propertyChange in interface AstObserver
        Parameters:
        observedNode - owner of the property
        property - property changed
        oldValue - value of the property before the change
        newValue - value of the property after the change
      • parentChange

        public void parentChange​(Node observedNode,
                                 Node previousParent,
                                 Node newParent)
        Description copied from interface: AstObserver
        The parent of a node is changed
        Specified by:
        parentChange in interface AstObserver
        Parameters:
        observedNode - node of which the parent is changed
        previousParent - previous parent
        newParent - new parent
      • listChange

        public void listChange​(NodeList observedNode,
                               AstObserver.ListChangeType type,
                               int index,
                               Node nodeAddedOrRemoved)
        Description copied from interface: AstObserver
        A list is changed
        Specified by:
        listChange in interface AstObserver
        Parameters:
        observedNode - list changed
        type - type of change
        index - position at which the changed occurred
        nodeAddedOrRemoved - element added or removed