Class SVGOMTextContentElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.svg.SVGElement
Direct Known Subclasses:
SVGOMFlowDivElement, SVGOMTextPathElement, SVGOMTextPositioningElement

public abstract class SVGOMTextContentElement extends SVGStylableElement
This class provides a common superclass for all graphics elements.
See Also:
  • Field Details

    • xmlTraitInformation

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

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

      protected SVGOMAnimatedBoolean externalResourcesRequired
      The 'externalResourcesRequired' attribute value.
    • textLength

      protected AbstractSVGAnimatedLength textLength
      The 'textLength' attribute value.
    • lengthAdjust

      protected SVGOMAnimatedEnumeration lengthAdjust
      The 'lengthAdjust' attribute value.
  • Constructor Details

    • SVGOMTextContentElement

      protected SVGOMTextContentElement()
      Creates a new SVGOMTextContentElement.
    • SVGOMTextContentElement

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

    • initializeAllLiveAttributes

      protected void initializeAllLiveAttributes()
      Initializes all live attributes for this element.
      Overrides:
      initializeAllLiveAttributes in class SVGStylableElement
    • 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 DOMException
      DOM: Implements SVGTextContentElement.getSubStringLength(int,int).
      Throws:
      DOMException
    • getStartPositionOfChar

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

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

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

      public float getRotationOfChar(int charnum) throws DOMException
      DOM: Implements SVGTextContentElement.getRotationOfChar(int).
      Throws:
      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 DOMException
      DOM: Implements SVGTextContentElement.selectSubString(int,int).
      Throws:
      DOMException
    • getExternalResourcesRequired

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

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

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

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

      public void setXMLspace(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(String extension)
      DOM: Implements SVGTests.hasExtension(String).
    • getTraitInformationTable

      protected DoublyIndexedTable getTraitInformationTable()
      Returns the table of TraitInformation objects for this element.
      Overrides:
      getTraitInformationTable in class SVGStylableElement