Class AbstractSVGLengthList.SVGLengthItem

    • Field Detail

      • parentList

        protected AbstractSVGList parentList
        List the item belongs to.
    • Constructor Detail

      • SVGLengthItem

        public SVGLengthItem​(short type,
                             float value,
                             short direction)
        Creates a new SVGLengthItem.
    • Method Detail

      • setParent

        public void setParent​(AbstractSVGList list)
        Assigns a parent list to this item.
        Specified by:
        setParent in interface SVGItem
        Parameters:
        list - The list the item belongs.
      • getParent

        public AbstractSVGList getParent()
        Returns the parent list of this item.
        Specified by:
        getParent in interface SVGItem
        Returns:
        list the item belongs to. This could be if the item belongs to no list.
      • reset

        protected void reset()
        Notifies the parent list that this item has changed.
        Overrides:
        reset in class AbstractSVGLength