Class SVGOMAnimatedBoolean

    • Field Detail

      • defaultValue

        protected boolean defaultValue
        The default value.
      • valid

        protected boolean valid
        Whether the base value is valid.
      • baseVal

        protected boolean baseVal
        The current base value.
      • animVal

        protected boolean animVal
        The current animated value.
      • changing

        protected boolean changing
        Whether the value is changing.
    • Constructor Detail

      • SVGOMAnimatedBoolean

        public SVGOMAnimatedBoolean​(AbstractElement elt,
                                    java.lang.String ns,
                                    java.lang.String ln,
                                    boolean val)
        Creates a new SVGOMAnimatedBoolean.
        Parameters:
        elt - The associated element.
        ns - The attribute's namespace URI.
        ln - The attribute's local name.
        val - The default value, if the attribute is not specified.
    • Method Detail

      • getBaseVal

        public boolean getBaseVal()
        DOM: Implements SVGAnimatedBoolean.getBaseVal().
        Specified by:
        getBaseVal in interface org.w3c.dom.svg.SVGAnimatedBoolean
      • update

        protected void update()
        Updates the base value from the attribute.
      • setBaseVal

        public void setBaseVal​(boolean baseVal)
                        throws org.w3c.dom.DOMException
        DOM: Implements SVGAnimatedBoolean.setBaseVal(boolean).
        Specified by:
        setBaseVal in interface org.w3c.dom.svg.SVGAnimatedBoolean
        Throws:
        org.w3c.dom.DOMException
      • getAnimVal

        public boolean getAnimVal()
        DOM: Implements SVGAnimatedBoolean.getAnimVal().
        Specified by:
        getAnimVal in interface org.w3c.dom.svg.SVGAnimatedBoolean
      • setAnimatedValue

        public void setAnimatedValue​(boolean animVal)
        Sets the animated value.
      • 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