Class SVGOMTextContentElement

    • Field Detail

      • xmlTraitInformation

        protected static DoublyIndexedTable xmlTraitInformation
        Table mapping XML attribute names to TraitInformation objects.
      • LENGTH_ADJUST_VALUES

        protected static final java.lang.String[] LENGTH_ADJUST_VALUES
        The 'lengthAdjust' attribute values.
      • externalResourcesRequired

        protected SVGOMAnimatedBoolean externalResourcesRequired
        The 'externalResourcesRequired' attribute value.
    • Constructor Detail

      • SVGOMTextContentElement

        protected SVGOMTextContentElement()
        Creates a new SVGOMTextContentElement.
      • SVGOMTextContentElement

        protected SVGOMTextContentElement​(java.lang.String prefix,
                                          AbstractDocument owner)
        Creates a new SVGOMTextContentElement object.
        Parameters:
        prefix - The namespace prefix.
        owner - The owner document.
    • Method Detail

      • initializeLiveAttributes

        private void initializeLiveAttributes()
        Initializes the live attribute values of this element.
      • getTextLength

        public org.w3c.dom.svg.SVGAnimatedLength getTextLength()
        DOM: Implements SVGTextContentElement.getTextLength().
      • getLengthAdjust

        public org.w3c.dom.svg.SVGAnimatedEnumeration getLengthAdjust()
        DOM: Implements SVGTextContentElement.getLengthAdjust().
      • getNumberOfChars

        public int getNumberOfChars()
        DOM: Implements SVGTextContentElement.getNumberOfChars().
      • getComputedTextLength

        public float getComputedTextLength()
        DOM: Implements SVGTextContentElement.getComputedTextLength().
      • getSubStringLength

        public float getSubStringLength​(int charnum,
                                        int nchars)
                                 throws org.w3c.dom.DOMException
        DOM: Implements SVGTextContentElement.getSubStringLength(int,int).
        Throws:
        org.w3c.dom.DOMException
      • getStartPositionOfChar

        public org.w3c.dom.svg.SVGPoint getStartPositionOfChar​(int charnum)
                                                        throws org.w3c.dom.DOMException
        DOM: Implements SVGTextContentElement.getStartPositionOfChar(int).
        Throws:
        org.w3c.dom.DOMException
      • getEndPositionOfChar

        public org.w3c.dom.svg.SVGPoint getEndPositionOfChar​(int charnum)
                                                      throws org.w3c.dom.DOMException
        DOM: Implements SVGTextContentElement.getEndPositionOfChar(int).
        Throws:
        org.w3c.dom.DOMException
      • getExtentOfChar

        public org.w3c.dom.svg.SVGRect getExtentOfChar​(int charnum)
                                                throws org.w3c.dom.DOMException
        DOM: Implements SVGTextContentElement.getExtentOfChar(int).
        Throws:
        org.w3c.dom.DOMException
      • getRotationOfChar

        public float getRotationOfChar​(int charnum)
                                throws org.w3c.dom.DOMException
        DOM: Implements SVGTextContentElement.getRotationOfChar(int).
        Throws:
        org.w3c.dom.DOMException
      • getCharNumAtPosition

        public int getCharNumAtPosition​(org.w3c.dom.svg.SVGPoint point)
        DOM: Implements SVGTextContentElement.getCharNumAtPosition(SVGPoint).
      • selectSubString

        public void selectSubString​(int charnum,
                                    int nchars)
                             throws org.w3c.dom.DOMException
        DOM: Implements SVGTextContentElement.selectSubString(int,int).
        Throws:
        org.w3c.dom.DOMException
      • getExternalResourcesRequired

        public org.w3c.dom.svg.SVGAnimatedBoolean getExternalResourcesRequired()
        DOM: Implements SVGExternalResourcesRequired.getExternalResourcesRequired().
      • getXMLlang

        public java.lang.String getXMLlang()
        DOM: Returns the xml:lang attribute value.
      • setXMLlang

        public void setXMLlang​(java.lang.String lang)
        DOM: Sets the xml:lang attribute value.
      • getXMLspace

        public java.lang.String getXMLspace()
        DOM: Returns the xml:space attribute value.
      • setXMLspace

        public void setXMLspace​(java.lang.String space)
        DOM: Sets the xml:space attribute value.
      • getRequiredFeatures

        public org.w3c.dom.svg.SVGStringList getRequiredFeatures()
        DOM: Implements SVGTests.getRequiredFeatures().
      • getRequiredExtensions

        public org.w3c.dom.svg.SVGStringList getRequiredExtensions()
        DOM: Implements SVGTests.getRequiredExtensions().
      • getSystemLanguage

        public org.w3c.dom.svg.SVGStringList getSystemLanguage()
        DOM: Implements SVGTests.getSystemLanguage().
      • hasExtension

        public boolean hasExtension​(java.lang.String extension)
        DOM: Implements SVGTests.hasExtension(String).