Interface CSSNavigableDocumentListener

  • All Known Implementing Classes:
    CSSEngine.CSSNavigableDocumentHandler

    public interface CSSNavigableDocumentListener
    An interface for listeners of CSSNavigableDocument events. The events parallel the DOM events, but apply to the CSS view of the tree rather than the actual DOM tree.
    Version:
    $Id: CSSNavigableDocumentListener.java 1733416 2016-03-03 07:07:13Z gadams $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void attrModified​(org.w3c.dom.Element e, org.w3c.dom.Attr attr, short attrChange, java.lang.String prevValue, java.lang.String newValue)
      An attribute has changed in the CSSNavigableDocument.
      void characterDataModified​(org.w3c.dom.Node text)
      Character data in the CSSNavigableDocument tree has been modified.
      void nodeInserted​(org.w3c.dom.Node newNode)
      A node has been inserted into the CSSNavigableDocument tree.
      void nodeToBeRemoved​(org.w3c.dom.Node oldNode)
      A node is about to be removed from the CSSNavigableDocument tree.
      void overrideStylePropertyChanged​(CSSStylableElement e, java.lang.String name, java.lang.String val, java.lang.String prio)
      A property in the override style declaration has been changed.
      void overrideStylePropertyRemoved​(CSSStylableElement e, java.lang.String name)
      A property in the override style declaration has been removed.
      void overrideStyleTextChanged​(CSSStylableElement e, java.lang.String text)
      The text of the override style declaration for this element has been modified.
      void subtreeModified​(org.w3c.dom.Node rootOfModifications)
      A subtree of the CSSNavigableDocument tree has been modified in some way.
    • Method Detail

      • nodeInserted

        void nodeInserted​(org.w3c.dom.Node newNode)
        A node has been inserted into the CSSNavigableDocument tree.
      • nodeToBeRemoved

        void nodeToBeRemoved​(org.w3c.dom.Node oldNode)
        A node is about to be removed from the CSSNavigableDocument tree.
      • subtreeModified

        void subtreeModified​(org.w3c.dom.Node rootOfModifications)
        A subtree of the CSSNavigableDocument tree has been modified in some way.
      • characterDataModified

        void characterDataModified​(org.w3c.dom.Node text)
        Character data in the CSSNavigableDocument tree has been modified.
      • attrModified

        void attrModified​(org.w3c.dom.Element e,
                          org.w3c.dom.Attr attr,
                          short attrChange,
                          java.lang.String prevValue,
                          java.lang.String newValue)
        An attribute has changed in the CSSNavigableDocument.
      • overrideStyleTextChanged

        void overrideStyleTextChanged​(CSSStylableElement e,
                                      java.lang.String text)
        The text of the override style declaration for this element has been modified.
      • overrideStylePropertyRemoved

        void overrideStylePropertyRemoved​(CSSStylableElement e,
                                          java.lang.String name)
        A property in the override style declaration has been removed.
      • overrideStylePropertyChanged

        void overrideStylePropertyChanged​(CSSStylableElement e,
                                          java.lang.String name,
                                          java.lang.String val,
                                          java.lang.String prio)
        A property in the override style declaration has been changed.