Class SVGOMTextElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, SVGMotionAnimatableElement, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.svg.SVGElement, org.w3c.dom.svg.SVGExternalResourcesRequired, org.w3c.dom.svg.SVGLangSpace, org.w3c.dom.svg.SVGLocatable, org.w3c.dom.svg.SVGStylable, org.w3c.dom.svg.SVGTests, org.w3c.dom.svg.SVGTextContentElement, org.w3c.dom.svg.SVGTextElement, org.w3c.dom.svg.SVGTextPositioningElement, org.w3c.dom.svg.SVGTransformable

public class SVGOMTextElement extends SVGOMTextPositioningElement implements org.w3c.dom.svg.SVGTextElement, SVGMotionAnimatableElement
This class implements SVGTextElement.
Version:
$Id: SVGOMTextElement.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

  • Constructor Details

    • SVGOMTextElement

      protected SVGOMTextElement()
      Creates a new SVGOMTextElement object.
    • SVGOMTextElement

      public SVGOMTextElement(String prefix, AbstractDocument owner)
      Creates a new SVGOMTextElement 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 SVGOMTextPositioningElement
    • initializeLiveAttributes

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

      public String getLocalName()
      DOM: Implements Node.getLocalName().
      Specified by:
      getLocalName in interface Node
      Overrides:
      getLocalName in class AbstractNode
    • getNearestViewportElement

      public org.w3c.dom.svg.SVGElement getNearestViewportElement()
      DOM: Implements SVGLocatable.getNearestViewportElement().
      Specified by:
      getNearestViewportElement in interface org.w3c.dom.svg.SVGLocatable
    • getFarthestViewportElement

      public org.w3c.dom.svg.SVGElement getFarthestViewportElement()
      DOM: Implements SVGLocatable.getFarthestViewportElement().
      Specified by:
      getFarthestViewportElement in interface org.w3c.dom.svg.SVGLocatable
    • getBBox

      public org.w3c.dom.svg.SVGRect getBBox()
      DOM: Implements SVGLocatable.getBBox().
      Specified by:
      getBBox in interface org.w3c.dom.svg.SVGLocatable
    • getCTM

      public org.w3c.dom.svg.SVGMatrix getCTM()
      DOM: Implements SVGLocatable.getCTM().
      Specified by:
      getCTM in interface org.w3c.dom.svg.SVGLocatable
    • getScreenCTM

      public org.w3c.dom.svg.SVGMatrix getScreenCTM()
      DOM: Implements SVGLocatable.getScreenCTM().
      Specified by:
      getScreenCTM in interface org.w3c.dom.svg.SVGLocatable
    • getTransformToElement

      public org.w3c.dom.svg.SVGMatrix getTransformToElement(org.w3c.dom.svg.SVGElement element) throws org.w3c.dom.svg.SVGException
      DOM: Implements SVGLocatable.getTransformToElement(SVGElement).
      Specified by:
      getTransformToElement in interface org.w3c.dom.svg.SVGLocatable
      Throws:
      org.w3c.dom.svg.SVGException
    • getTransform

      public org.w3c.dom.svg.SVGAnimatedTransformList getTransform()
      DOM: Implements SVGTransformable.getTransform().
      Specified by:
      getTransform in interface org.w3c.dom.svg.SVGTransformable
    • getDefaultXValue

      protected String getDefaultXValue()
      Returns the default value of the 'x' attribute.
      Overrides:
      getDefaultXValue in class SVGOMTextPositioningElement
    • getDefaultYValue

      protected String getDefaultYValue()
      Returns the default value of the 'y' attribute.
      Overrides:
      getDefaultYValue in class SVGOMTextPositioningElement
    • newNode

      protected Node newNode()
      Returns a new uninitialized instance of this object's class.
      Specified by:
      newNode in class AbstractNode
    • getTraitInformationTable

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

      public AffineTransform getMotionTransform()
      Returns the AffineTransform representing the current motion animation for this element.
      Specified by:
      getMotionTransform in interface SVGMotionAnimatableElement
    • updateOtherValue

      public void updateOtherValue(String type, AnimatableValue val)
      Updates a 'other' animation value in this target.
      Specified by:
      updateOtherValue in interface AnimationTarget
      Overrides:
      updateOtherValue in class SVGOMElement