Class AbstractSVGPathSegList

    • Field Detail

      • SVG_PATHSEG_LIST_SEPARATOR

        public static final java.lang.String SVG_PATHSEG_LIST_SEPARATOR
        Separator for a point list.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractSVGPathSegList

        protected AbstractSVGPathSegList()
        Creates a new SVGPathSegList.
    • Method Detail

      • getItemSeparator

        protected java.lang.String getItemSeparator()
        Return the separator between segments in the list.
        Specified by:
        getItemSeparator in class AbstractSVGList
      • createSVGException

        protected abstract org.w3c.dom.svg.SVGException createSVGException​(short type,
                                                                           java.lang.String key,
                                                                           java.lang.Object[] args)
        Create an SVGException when the checkItemType fails.
        Returns:
        SVGException
      • initialize

        public org.w3c.dom.svg.SVGPathSeg initialize​(org.w3c.dom.svg.SVGPathSeg newItem)
                                              throws org.w3c.dom.DOMException,
                                                     org.w3c.dom.svg.SVGException
        Specified by:
        initialize in interface org.w3c.dom.svg.SVGPathSegList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • getItem

        public org.w3c.dom.svg.SVGPathSeg getItem​(int index)
                                           throws org.w3c.dom.DOMException
        Specified by:
        getItem in interface org.w3c.dom.svg.SVGPathSegList
        Throws:
        org.w3c.dom.DOMException
      • insertItemBefore

        public org.w3c.dom.svg.SVGPathSeg insertItemBefore​(org.w3c.dom.svg.SVGPathSeg newItem,
                                                           int index)
                                                    throws org.w3c.dom.DOMException,
                                                           org.w3c.dom.svg.SVGException
        Specified by:
        insertItemBefore in interface org.w3c.dom.svg.SVGPathSegList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • replaceItem

        public org.w3c.dom.svg.SVGPathSeg replaceItem​(org.w3c.dom.svg.SVGPathSeg newItem,
                                                      int index)
                                               throws org.w3c.dom.DOMException,
                                                      org.w3c.dom.svg.SVGException
        Specified by:
        replaceItem in interface org.w3c.dom.svg.SVGPathSegList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • removeItem

        public org.w3c.dom.svg.SVGPathSeg removeItem​(int index)
                                              throws org.w3c.dom.DOMException
        Specified by:
        removeItem in interface org.w3c.dom.svg.SVGPathSegList
        Throws:
        org.w3c.dom.DOMException
      • appendItem

        public org.w3c.dom.svg.SVGPathSeg appendItem​(org.w3c.dom.svg.SVGPathSeg newItem)
                                              throws org.w3c.dom.DOMException,
                                                     org.w3c.dom.svg.SVGException
        Specified by:
        appendItem in interface org.w3c.dom.svg.SVGPathSegList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • createSVGItem

        protected SVGItem createSVGItem​(java.lang.Object newItem)
        Description copied from class: AbstractSVGList
        Creates an SVGItem object that has the same values as those in the specified SVG object.
        Specified by:
        createSVGItem in class AbstractSVGList
        Parameters:
        newItem - the SVG object
        Returns:
        the newly created SVGItem object
      • checkItemType

        protected void checkItemType​(java.lang.Object newItem)
        Check if the item is an SVGPathSeg.
        Specified by:
        checkItemType in class AbstractSVGList
      • createPathSegItem

        protected SVGPathSegItem createPathSegItem​(org.w3c.dom.svg.SVGPathSeg pathSeg)
        create an SVGItem representing this SVGPathSeg.