Class SVGOMImageElement

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

public class SVGOMImageElement extends SVGURIReferenceGraphicsElement implements org.w3c.dom.svg.SVGImageElement
This class implements SVGImageElement.
See Also:
  • Field Details

  • Constructor Details

    • SVGOMImageElement

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

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

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

      public org.w3c.dom.svg.SVGAnimatedLength getX()
      DOM: Implements SVGImageElement.getX().
      Specified by:
      getX in interface org.w3c.dom.svg.SVGImageElement
    • getY

      public org.w3c.dom.svg.SVGAnimatedLength getY()
      DOM: Implements SVGImageElement.getY().
      Specified by:
      getY in interface org.w3c.dom.svg.SVGImageElement
    • getWidth

      public org.w3c.dom.svg.SVGAnimatedLength getWidth()
      DOM: Implements SVGImageElement.getWidth().
      Specified by:
      getWidth in interface org.w3c.dom.svg.SVGImageElement
    • getHeight

      public org.w3c.dom.svg.SVGAnimatedLength getHeight()
      DOM: Implements SVGImageElement.getHeight().
      Specified by:
      getHeight in interface org.w3c.dom.svg.SVGImageElement
    • getPreserveAspectRatio

      public org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
      DOM: Implements SVGImageElement.getPreserveAspectRatio().
      Specified by:
      getPreserveAspectRatio in interface org.w3c.dom.svg.SVGImageElement
    • getAttributeInitializer

      protected AttributeInitializer getAttributeInitializer()
      Returns the AttributeInitializer for this element type.
      Overrides:
      getAttributeInitializer in class AbstractElement
      Returns:
      null if this element has no attribute with a default value.
    • 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 SVGURIReferenceGraphicsElement