Class Dr3dSphereElement

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

public class Dr3dSphereElement extends OdfStyleableShapeElement
DOM implementation of OpenDocument element <dr3d:sphere>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • Dr3dSphereElement

      public Dr3dSphereElement(OdfFileDom ownerDoc)
      Create the instance of Dr3dSphereElement
      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 <dr3d:sphere>.
    • getDr3dCenterAttribute

      public String getDr3dCenterAttribute()
      Receives the value of the ODFDOM attribute representation Dr3dCenterAttribute , See @dr3d:center
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDr3dCenterAttribute

      public void setDr3dCenterAttribute(String dr3dCenterValue)
      Sets the value of ODFDOM attribute representation Dr3dCenterAttribute , See @dr3d:center
      Parameters:
      dr3dCenterValue - The type is String
    • getDr3dSizeAttribute

      public String getDr3dSizeAttribute()
      Receives the value of the ODFDOM attribute representation Dr3dSizeAttribute , See @dr3d:size
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDr3dSizeAttribute

      public void setDr3dSizeAttribute(String dr3dSizeValue)
      Sets the value of ODFDOM attribute representation Dr3dSizeAttribute , See @dr3d:size
      Parameters:
      dr3dSizeValue - The type is String
    • getDr3dTransformAttribute

      public String getDr3dTransformAttribute()
      Receives the value of the ODFDOM attribute representation Dr3dTransformAttribute , See @dr3d:transform
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDr3dTransformAttribute

      public void setDr3dTransformAttribute(String dr3dTransformValue)
      Sets the value of ODFDOM attribute representation Dr3dTransformAttribute , See @dr3d:transform
      Parameters:
      dr3dTransformValue - The type is String
    • getDrawClassNamesAttribute

      public String getDrawClassNamesAttribute()
      Receives the value of the ODFDOM attribute representation DrawClassNamesAttribute , See @draw:class-names
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawClassNamesAttribute

      public void setDrawClassNamesAttribute(String drawClassNamesValue)
      Sets the value of ODFDOM attribute representation DrawClassNamesAttribute , See @draw:class-names
      Parameters:
      drawClassNamesValue - The type is String
    • getDrawIdAttribute

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

      public void setDrawIdAttribute(String drawIdValue)
      Sets the value of ODFDOM attribute representation DrawIdAttribute , See @draw:id
      Parameters:
      drawIdValue - 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
    • getDrawStyleNameAttribute

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

      public void setDrawStyleNameAttribute(String drawStyleNameValue)
      Sets the value of ODFDOM attribute representation DrawStyleNameAttribute , See @draw:style-name
      Parameters:
      drawStyleNameValue - The type is String
    • getDrawZIndexAttribute

      public Integer getDrawZIndexAttribute()
      Receives the value of the ODFDOM attribute representation DrawZIndexAttribute , See @draw:z-index
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDrawZIndexAttribute

      public void setDrawZIndexAttribute(Integer drawZIndexValue)
      Sets the value of ODFDOM attribute representation DrawZIndexAttribute , See @draw:z-index
      Parameters:
      drawZIndexValue - The type is Integer
    • getPresentationClassNamesAttribute

      public String getPresentationClassNamesAttribute()
      Receives the value of the ODFDOM attribute representation PresentationClassNamesAttribute , See @presentation:class-names
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationClassNamesAttribute

      public void setPresentationClassNamesAttribute(String presentationClassNamesValue)
      Sets the value of ODFDOM attribute representation PresentationClassNamesAttribute , See @presentation:class-names
      Parameters:
      presentationClassNamesValue - The type is String
    • getPresentationStyleNameAttribute

      public String getPresentationStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation PresentationStyleNameAttribute , See @presentation:style-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationStyleNameAttribute

      public void setPresentationStyleNameAttribute(String presentationStyleNameValue)
      Sets the value of ODFDOM attribute representation PresentationStyleNameAttribute , See @presentation:style-name
      Parameters:
      presentationStyleNameValue - The type is String
    • getXmlIdAttribute

      public String getXmlIdAttribute()
      Receives the value of the ODFDOM attribute representation XmlIdAttribute , See @xml:id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXmlIdAttribute

      public void setXmlIdAttribute(String xmlIdValue)
      Sets the value of ODFDOM attribute representation XmlIdAttribute , See @xml:id
      Parameters:
      xmlIdValue - The type is String
    • 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