Class SVGOMGradientElement

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, org.w3c.dom.svg.SVGExternalResourcesRequired, org.w3c.dom.svg.SVGGradientElement, org.w3c.dom.svg.SVGStylable, org.w3c.dom.svg.SVGUnitTypes, org.w3c.dom.svg.SVGURIReference
Direct Known Subclasses:
SVGOMLinearGradientElement, SVGOMRadialGradientElement

public abstract class SVGOMGradientElement extends SVGStylableElement implements org.w3c.dom.svg.SVGGradientElement
This class implements SVGGradientElement.
Version:
$Id: SVGOMGradientElement.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • xmlTraitInformation

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

      protected static final AttributeInitializer attributeInitializer
      The attribute initializer.
    • UNITS_VALUES

      protected static final String[] UNITS_VALUES
      The units values.
    • SPREAD_METHOD_VALUES

      protected static final String[] SPREAD_METHOD_VALUES
      The 'spreadMethod' attribute values.
    • gradientUnits

      protected SVGOMAnimatedEnumeration gradientUnits
      The 'gradientUnits' attribute value.
    • spreadMethod

      protected SVGOMAnimatedEnumeration spreadMethod
      The 'spreadMethod' attribute value.
    • href

      protected SVGOMAnimatedString href
      The 'xlink:href' attribute value.
    • externalResourcesRequired

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

    • SVGOMGradientElement

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

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

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

      public org.w3c.dom.svg.SVGAnimatedTransformList getGradientTransform()
      To implement SVGGradientElement.getGradientTransform().
      Specified by:
      getGradientTransform in interface org.w3c.dom.svg.SVGGradientElement
    • getGradientUnits

      public org.w3c.dom.svg.SVGAnimatedEnumeration getGradientUnits()
      DOM: Implements SVGGradientElement.getGradientUnits().
      Specified by:
      getGradientUnits in interface org.w3c.dom.svg.SVGGradientElement
    • getSpreadMethod

      public org.w3c.dom.svg.SVGAnimatedEnumeration getSpreadMethod()
      DOM: Implements SVGGradientElement.getSpreadMethod().
      Specified by:
      getSpreadMethod in interface org.w3c.dom.svg.SVGGradientElement
    • getHref

      public org.w3c.dom.svg.SVGAnimatedString getHref()
      DOM: Implements SVGURIReference.getHref().
      Specified by:
      getHref in interface org.w3c.dom.svg.SVGURIReference
    • getExternalResourcesRequired

      public org.w3c.dom.svg.SVGAnimatedBoolean getExternalResourcesRequired()
      DOM: Implements SVGExternalResourcesRequired.getExternalResourcesRequired().
      Specified by:
      getExternalResourcesRequired in interface org.w3c.dom.svg.SVGExternalResourcesRequired
    • 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 SVGStylableElement