Class DrawHatchElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DrawHatchElement

        public DrawHatchElement​(OdfFileDom ownerDoc)
        Create the instance of DrawHatchElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getDrawColorAttribute

        public String getDrawColorAttribute()
        Receives the value of the ODFDOM attribute representation DrawColorAttribute , See @draw:color
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawColorAttribute

        public void setDrawColorAttribute​(String drawColorValue)
        Sets the value of ODFDOM attribute representation DrawColorAttribute , See @draw:color
        Parameters:
        drawColorValue - 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
      • getDrawDistanceAttribute

        public String getDrawDistanceAttribute()
        Receives the value of the ODFDOM attribute representation DrawDistanceAttribute , See @draw:distance
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawDistanceAttribute

        public void setDrawDistanceAttribute​(String drawDistanceValue)
        Sets the value of ODFDOM attribute representation DrawDistanceAttribute , See @draw:distance
        Parameters:
        drawDistanceValue - 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
      • getDrawRotationAttribute

        public String getDrawRotationAttribute()
        Receives the value of the ODFDOM attribute representation DrawRotationAttribute , See @draw:rotation
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawRotationAttribute

        public void setDrawRotationAttribute​(String drawRotationValue)
        Sets the value of ODFDOM attribute representation DrawRotationAttribute , See @draw:rotation
        Parameters:
        drawRotationValue - 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)
        Description copied from class: OdfElement
        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