Class SVGOMLineElement

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.SVGLineElement, org.w3c.dom.svg.SVGLocatable, org.w3c.dom.svg.SVGStylable, org.w3c.dom.svg.SVGTests, org.w3c.dom.svg.SVGTransformable

public class SVGOMLineElement extends SVGGraphicsElement implements org.w3c.dom.svg.SVGLineElement
This class implements SVGLineElement.
See Also:
  • Field Details

  • Constructor Details

    • SVGOMLineElement

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

      public SVGOMLineElement(String prefix, AbstractDocument owner)
      Creates a new SVGOMLineElement 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 SVGGraphicsElement
    • getLocalName

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

      public org.w3c.dom.svg.SVGAnimatedLength getX1()
      DOM: Implements SVGLineElement.getX1().
      Specified by:
      getX1 in interface org.w3c.dom.svg.SVGLineElement
    • getY1

      public org.w3c.dom.svg.SVGAnimatedLength getY1()
      DOM: Implements SVGLineElement.getY1().
      Specified by:
      getY1 in interface org.w3c.dom.svg.SVGLineElement
    • getX2

      public org.w3c.dom.svg.SVGAnimatedLength getX2()
      DOM: Implements SVGLineElement.getX2().
      Specified by:
      getX2 in interface org.w3c.dom.svg.SVGLineElement
    • getY2

      public org.w3c.dom.svg.SVGAnimatedLength getY2()
      DOM: Implements SVGLineElement.getY2().
      Specified by:
      getY2 in interface org.w3c.dom.svg.SVGLineElement
    • 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 SVGGraphicsElement