Class DrawCircleElement

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

public class DrawCircleElement extends DrawShapeElementBase
DOM implementation of OpenDocument element <draw:circle>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawCircleElement

      public DrawCircleElement(OdfFileDom ownerDoc)
      Create the instance of DrawCircleElement
      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 <draw:circle>.
    • getDrawCaptionIdAttribute

      public String getDrawCaptionIdAttribute()
      Receives the value of the ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawCaptionIdAttribute

      public void setDrawCaptionIdAttribute(String drawCaptionIdValue)
      Sets the value of ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
      Parameters:
      drawCaptionIdValue - The type is String
    • getDrawEndAngleAttribute

      public String getDrawEndAngleAttribute()
      Receives the value of the ODFDOM attribute representation DrawEndAngleAttribute , See @draw:end-angle
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawEndAngleAttribute

      public void setDrawEndAngleAttribute(String drawEndAngleValue)
      Sets the value of ODFDOM attribute representation DrawEndAngleAttribute , See @draw:end-angle
      Parameters:
      drawEndAngleValue - The type is String
    • getDrawKindAttribute

      public String getDrawKindAttribute()
      Receives the value of the ODFDOM attribute representation DrawKindAttribute , See @draw:kind
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawKindAttribute

      public void setDrawKindAttribute(String drawKindValue)
      Sets the value of ODFDOM attribute representation DrawKindAttribute , See @draw:kind
      Parameters:
      drawKindValue - The type is String
    • getDrawLayerAttribute

      public String getDrawLayerAttribute()
      Receives the value of the ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawLayerAttribute

      public void setDrawLayerAttribute(String drawLayerValue)
      Sets the value of ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
      Parameters:
      drawLayerValue - The type is String
    • getDrawStartAngleAttribute

      public String getDrawStartAngleAttribute()
      Receives the value of the ODFDOM attribute representation DrawStartAngleAttribute , See @draw:start-angle
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawStartAngleAttribute

      public void setDrawStartAngleAttribute(String drawStartAngleValue)
      Sets the value of ODFDOM attribute representation DrawStartAngleAttribute , See @draw:start-angle
      Parameters:
      drawStartAngleValue - The type is String
    • getDrawTextStyleNameAttribute

      public String getDrawTextStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawTextStyleNameAttribute , See @draw:text-style-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawTextStyleNameAttribute

      public void setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
      Sets the value of ODFDOM attribute representation DrawTextStyleNameAttribute , See @draw:text-style-name
      Parameters:
      drawTextStyleNameValue - The type is String
    • getDrawTransformAttribute

      public String getDrawTransformAttribute()
      Receives the value of the ODFDOM attribute representation DrawTransformAttribute , See @draw:transform
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawTransformAttribute

      public void setDrawTransformAttribute(String drawTransformValue)
      Sets the value of ODFDOM attribute representation DrawTransformAttribute , See @draw:transform
      Parameters:
      drawTransformValue - 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
    • getSvgHeightAttribute

      public String getSvgHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See @svg:height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgHeightAttribute

      public void setSvgHeightAttribute(String svgHeightValue)
      Sets the value of ODFDOM attribute representation SvgHeightAttribute , See @svg:height
      Parameters:
      svgHeightValue - 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
    • getSvgWidthAttribute

      public String getSvgWidthAttribute()
      Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See @svg:width
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgWidthAttribute

      public void setSvgWidthAttribute(String svgWidthValue)
      Sets the value of ODFDOM attribute representation SvgWidthAttribute , See @svg:width
      Parameters:
      svgWidthValue - The type is String
    • getSvgXAttribute

      public String getSvgXAttribute()
      Receives the value of the ODFDOM attribute representation SvgXAttribute , See @svg:x
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgXAttribute

      public void setSvgXAttribute(String svgXValue)
      Sets the value of ODFDOM attribute representation SvgXAttribute , See @svg:x
      Parameters:
      svgXValue - The type is String
    • getSvgYAttribute

      public String getSvgYAttribute()
      Receives the value of the ODFDOM attribute representation SvgYAttribute , See @svg:y
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgYAttribute

      public void setSvgYAttribute(String svgYValue)
      Sets the value of ODFDOM attribute representation SvgYAttribute , See @svg:y
      Parameters:
      svgYValue - The type is String
    • newDrawGluePointElement

      public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue)
      Create child element <draw:glue-point>.
      Parameters:
      drawEscapeDirectionValue - the String value of DrawEscapeDirectionAttribute, see @draw:escape-direction at specification
      drawIdValue - the String value of DrawIdAttribute, see @draw:id at specification
      svgXValue - the String value of SvgXAttribute, see @svg:x at specification
      svgYValue - the String value of SvgYAttribute, see @svg:y at specification
      Returns:
      the element <draw:glue-point>
    • newOfficeEventListenersElement

      public OfficeEventListenersElement newOfficeEventListenersElement()
      Create child element <office:event-listeners>.
      Returns:
      the element <office:event-listeners>
    • newSvgDescElement

      public SvgDescElement newSvgDescElement()
      Create child element <svg:desc>.

      Child element was added in ODF 1.1

      Returns:
      the element <svg:desc>
    • newSvgTitleElement

      public SvgTitleElement newSvgTitleElement()
      Create child element <svg:title>.

      Child element was added in ODF 1.1

      Returns:
      the element <svg:title>
    • newTextListElement

      public TextListElement newTextListElement()
      Create child element <text:list>.
      Returns:
      the element <text:list>
    • newTextPElement

      public TextPElement newTextPElement()
      Create child element <text:p>.
      Returns:
      the element <text:p>
    • 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