Class SVGOMAnimatedLengthList

  • All Implemented Interfaces:
    AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedLengthList

    public class SVGOMAnimatedLengthList
    extends AbstractSVGAnimatedValue
    implements org.w3c.dom.svg.SVGAnimatedLengthList
    This class is the implementation of the SVGAnimatedLengthList interface.
    Version:
    $Id: SVGOMAnimatedLengthList.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Detail

      • changing

        protected boolean changing
        Whether the list is changing.
      • defaultValue

        protected java.lang.String defaultValue
        Default value for the length list.
      • emptyAllowed

        protected boolean emptyAllowed
        Whether empty length lists are allowed.
      • direction

        protected short direction
        The direction of the lengths in this list.
    • Constructor Detail

      • SVGOMAnimatedLengthList

        public SVGOMAnimatedLengthList​(AbstractElement elt,
                                       java.lang.String ns,
                                       java.lang.String ln,
                                       java.lang.String defaultValue,
                                       boolean emptyAllowed,
                                       short direction)
        Creates a new SVGOMAnimatedLengthList.
        Parameters:
        elt - The associated element.
        ns - The attribute's namespace URI.
        ln - The attribute's local name.
        defaultValue - The default value if the attribute is not specified.
        emptyAllowed - Whether a list with no items is allowed.
        direction - The direction of the lengths in the list.
    • Method Detail

      • getBaseVal

        public org.w3c.dom.svg.SVGLengthList getBaseVal()
        DOM: Implements SVGAnimatedLengthList.getBaseVal().
        Specified by:
        getBaseVal in interface org.w3c.dom.svg.SVGAnimatedLengthList
      • getAnimVal

        public org.w3c.dom.svg.SVGLengthList getAnimVal()
        DOM: Implements SVGAnimatedLengthList.getAnimVal().
        Specified by:
        getAnimVal in interface org.w3c.dom.svg.SVGAnimatedLengthList
      • check

        public void check()
        Throws an exception if the length list value is malformed.
      • 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