Class DrawOpacityElement

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

public class DrawOpacityElement extends OdfElement
DOM implementation of OpenDocument element <draw:opacity>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawOpacityElement

      public DrawOpacityElement(OdfFileDom ownerDoc)
      Create the instance of DrawOpacityElement
      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:opacity>.
    • getDrawAngleAttribute

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

      public void setDrawAngleAttribute(String drawAngleValue)
      Sets the value of ODFDOM attribute representation DrawAngleAttribute , See @draw:angle
      Parameters:
      drawAngleValue - The type is String
    • getDrawBorderAttribute

      public String getDrawBorderAttribute()
      Receives the value of the ODFDOM attribute representation DrawBorderAttribute , See @draw:border
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawBorderAttribute

      public void setDrawBorderAttribute(String drawBorderValue)
      Sets the value of ODFDOM attribute representation DrawBorderAttribute , See @draw:border
      Parameters:
      drawBorderValue - The type is String
    • getDrawCxAttribute

      public String getDrawCxAttribute()
      Receives the value of the ODFDOM attribute representation DrawCxAttribute , See @draw:cx
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawCxAttribute

      public void setDrawCxAttribute(String drawCxValue)
      Sets the value of ODFDOM attribute representation DrawCxAttribute , See @draw:cx
      Parameters:
      drawCxValue - The type is String
    • getDrawCyAttribute

      public String getDrawCyAttribute()
      Receives the value of the ODFDOM attribute representation DrawCyAttribute , See @draw:cy
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawCyAttribute

      public void setDrawCyAttribute(String drawCyValue)
      Sets the value of ODFDOM attribute representation DrawCyAttribute , See @draw:cy
      Parameters:
      drawCyValue - The type is String
    • 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
    • getDrawEndAttribute

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

      public void setDrawEndAttribute(String drawEndValue)
      Sets the value of ODFDOM attribute representation DrawEndAttribute , See @draw:end
      Parameters:
      drawEndValue - The type is String
    • getDrawNameAttribute

      public String getDrawNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawNameAttribute , See @draw:name
      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
    • getDrawStartAttribute

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

      public void setDrawStartAttribute(String drawStartValue)
      Sets the value of ODFDOM attribute representation DrawStartAttribute , See @draw:start
      Parameters:
      drawStartValue - The type is String
    • getDrawStyleAttribute

      public String getDrawStyleAttribute()
      Receives the value of the ODFDOM attribute representation DrawStyleAttribute , See @draw:style

      Attribute is mandatory.

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

      public void setDrawStyleAttribute(String drawStyleValue)
      Sets the value of ODFDOM attribute representation DrawStyleAttribute , See @draw:style
      Parameters:
      drawStyleValue - 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