Class SvgRadialGradientElement

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class SvgRadialGradientElement extends OdfElement
DOM implementation of OpenDocument element <svg:radialGradient>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • SvgRadialGradientElement

      public SvgRadialGradientElement(OdfFileDom ownerDoc)
      Create the instance of SvgRadialGradientElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <svg:radialGradient>.
    • getDrawDisplayNameAttribute

      public String getDrawDisplayNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawDisplayNameAttribute , See @draw:display-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawDisplayNameAttribute

      public void setDrawDisplayNameAttribute(String drawDisplayNameValue)
      Sets the value of ODFDOM attribute representation DrawDisplayNameAttribute , See @draw:display-name
      Parameters:
      drawDisplayNameValue - The type is String
    • getDrawNameAttribute

      public String getDrawNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawNameAttribute , See @draw:name

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawNameAttribute

      public void setDrawNameAttribute(String drawNameValue)
      Sets the value of ODFDOM attribute representation DrawNameAttribute , See @draw:name
      Parameters:
      drawNameValue - The type is String
    • getSvgCxAttribute

      public String getSvgCxAttribute()
      Receives the value of the ODFDOM attribute representation SvgCxAttribute , See @svg:cx
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgCxAttribute

      public void setSvgCxAttribute(String svgCxValue)
      Sets the value of ODFDOM attribute representation SvgCxAttribute , See @svg:cx
      Parameters:
      svgCxValue - The type is String
    • getSvgCyAttribute

      public String getSvgCyAttribute()
      Receives the value of the ODFDOM attribute representation SvgCyAttribute , See @svg:cy
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgCyAttribute

      public void setSvgCyAttribute(String svgCyValue)
      Sets the value of ODFDOM attribute representation SvgCyAttribute , See @svg:cy
      Parameters:
      svgCyValue - The type is String
    • getSvgFxAttribute

      public String getSvgFxAttribute()
      Receives the value of the ODFDOM attribute representation SvgFxAttribute , See @svg:fx
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFxAttribute

      public void setSvgFxAttribute(String svgFxValue)
      Sets the value of ODFDOM attribute representation SvgFxAttribute , See @svg:fx
      Parameters:
      svgFxValue - The type is String
    • getSvgFyAttribute

      public String getSvgFyAttribute()
      Receives the value of the ODFDOM attribute representation SvgFyAttribute , See @svg:fy
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFyAttribute

      public void setSvgFyAttribute(String svgFyValue)
      Sets the value of ODFDOM attribute representation SvgFyAttribute , See @svg:fy
      Parameters:
      svgFyValue - The type is String
    • getSvgGradientTransformAttribute

      public String getSvgGradientTransformAttribute()
      Receives the value of the ODFDOM attribute representation SvgGradientTransformAttribute , See @svg:gradientTransform
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgGradientTransformAttribute

      public void setSvgGradientTransformAttribute(String svgGradientTransformValue)
      Sets the value of ODFDOM attribute representation SvgGradientTransformAttribute , See @svg:gradientTransform
      Parameters:
      svgGradientTransformValue - The type is String
    • getSvgGradientUnitsAttribute

      public String getSvgGradientUnitsAttribute()
      Receives the value of the ODFDOM attribute representation SvgGradientUnitsAttribute , See @svg:gradientUnits
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgGradientUnitsAttribute

      public void setSvgGradientUnitsAttribute(String svgGradientUnitsValue)
      Sets the value of ODFDOM attribute representation SvgGradientUnitsAttribute , See @svg:gradientUnits
      Parameters:
      svgGradientUnitsValue - The type is String
    • getSvgRAttribute

      public String getSvgRAttribute()
      Receives the value of the ODFDOM attribute representation SvgRAttribute , See @svg:r
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgRAttribute

      public void setSvgRAttribute(String svgRValue)
      Sets the value of ODFDOM attribute representation SvgRAttribute , See @svg:r
      Parameters:
      svgRValue - The type is String
    • getSvgSpreadMethodAttribute

      public String getSvgSpreadMethodAttribute()
      Receives the value of the ODFDOM attribute representation SvgSpreadMethodAttribute , See @svg:spreadMethod
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgSpreadMethodAttribute

      public void setSvgSpreadMethodAttribute(String svgSpreadMethodValue)
      Sets the value of ODFDOM attribute representation SvgSpreadMethodAttribute , See @svg:spreadMethod
      Parameters:
      svgSpreadMethodValue - The type is String
    • newSvgStopElement

      public SvgStopElement newSvgStopElement(String svgOffsetValue)
      Create child element <svg:stop>.
      Parameters:
      svgOffsetValue - the String value of SvgOffsetAttribute, see @svg:offset at specification
      Returns:
      the element <svg:stop>
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor