Class DrawGradientElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DrawGradientElement

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

      • 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
      • getDrawEndColorAttribute

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

        public void setDrawEndColorAttribute​(String drawEndColorValue)
        Sets the value of ODFDOM attribute representation DrawEndColorAttribute , See @draw:end-color
        Parameters:
        drawEndColorValue - The type is String
      • getDrawEndIntensityAttribute

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

        public void setDrawEndIntensityAttribute​(String drawEndIntensityValue)
        Sets the value of ODFDOM attribute representation DrawEndIntensityAttribute , See @draw:end-intensity
        Parameters:
        drawEndIntensityValue - 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
      • getDrawStartColorAttribute

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

        public void setDrawStartColorAttribute​(String drawStartColorValue)
        Sets the value of ODFDOM attribute representation DrawStartColorAttribute , See @draw:start-color
        Parameters:
        drawStartColorValue - The type is String
      • getDrawStartIntensityAttribute

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

        public void setDrawStartIntensityAttribute​(String drawStartIntensityValue)
        Sets the value of ODFDOM attribute representation DrawStartIntensityAttribute , See @draw:start-intensity
        Parameters:
        drawStartIntensityValue - 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