Class DrawLayerElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DrawLayerElement

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

      • getDrawDisplayAttribute

        public String getDrawDisplayAttribute()
        Receives the value of the ODFDOM attribute representation DrawDisplayAttribute , See @draw:display
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawDisplayAttribute

        public void setDrawDisplayAttribute​(String drawDisplayValue)
        Sets the value of ODFDOM attribute representation DrawDisplayAttribute , See @draw:display
        Parameters:
        drawDisplayValue - 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
      • getDrawProtectedAttribute

        public Boolean getDrawProtectedAttribute()
        Receives the value of the ODFDOM attribute representation DrawProtectedAttribute , See @draw:protected
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setDrawProtectedAttribute

        public void setDrawProtectedAttribute​(Boolean drawProtectedValue)
        Sets the value of ODFDOM attribute representation DrawProtectedAttribute , See @draw:protected
        Parameters:
        drawProtectedValue - The type is Boolean
      • 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