Class SVGStylableElement.StyleDeclaration

    • Field Detail

      • mutate

        protected boolean mutate
        Whether the mutation comes from this object.
    • Constructor Detail

      • StyleDeclaration

        public StyleDeclaration​(CSSEngine eng)
        Creates a new StyleDeclaration.
    • Method Detail

      • attrAdded

        public void attrAdded​(org.w3c.dom.Attr node,
                              java.lang.String newv)
        Called when an Attr node has been added.
        Specified by:
        attrAdded in interface LiveAttributeValue
      • attrModified

        public void attrModified​(org.w3c.dom.Attr node,
                                 java.lang.String oldv,
                                 java.lang.String newv)
        Called when an Attr node has been modified.
        Specified by:
        attrModified in interface LiveAttributeValue
      • attrRemoved

        public void attrRemoved​(org.w3c.dom.Attr node,
                                java.lang.String oldv)
        Called when an Attr node has been removed.
        Specified by:
        attrRemoved in interface LiveAttributeValue
      • propertyChanged

        public void propertyChanged​(java.lang.String name,
                                    java.lang.String value,
                                    java.lang.String prio)
                             throws org.w3c.dom.DOMException
        Called when a property was changed.
        Specified by:
        propertyChanged in interface CSSOMStyleDeclaration.ModificationHandler
        Throws:
        org.w3c.dom.DOMException
      • setMainProperty

        public void setMainProperty​(java.lang.String name,
                                    Value v,
                                    boolean important)
        Sets a main property value in response to a shorthand property being set.
        Specified by:
        setMainProperty in interface CSSEngine.MainPropertyReceiver