Class Dr3dLightElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • Dr3dLightElement

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

      • getDr3dDiffuseColorAttribute

        public String getDr3dDiffuseColorAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dDiffuseColorAttribute , See @dr3d:diffuse-color
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dDiffuseColorAttribute

        public void setDr3dDiffuseColorAttribute​(String dr3dDiffuseColorValue)
        Sets the value of ODFDOM attribute representation Dr3dDiffuseColorAttribute , See @dr3d:diffuse-color
        Parameters:
        dr3dDiffuseColorValue - The type is String
      • getDr3dDirectionAttribute

        public String getDr3dDirectionAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dDirectionAttribute , See @dr3d:direction

        Attribute is mandatory.

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

        public void setDr3dDirectionAttribute​(String dr3dDirectionValue)
        Sets the value of ODFDOM attribute representation Dr3dDirectionAttribute , See @dr3d:direction
        Parameters:
        dr3dDirectionValue - The type is String
      • getDr3dEnabledAttribute

        public Boolean getDr3dEnabledAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dEnabledAttribute , See @dr3d:enabled
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setDr3dEnabledAttribute

        public void setDr3dEnabledAttribute​(Boolean dr3dEnabledValue)
        Sets the value of ODFDOM attribute representation Dr3dEnabledAttribute , See @dr3d:enabled
        Parameters:
        dr3dEnabledValue - The type is Boolean
      • getDr3dSpecularAttribute

        public Boolean getDr3dSpecularAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dSpecularAttribute , See @dr3d:specular
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setDr3dSpecularAttribute

        public void setDr3dSpecularAttribute​(Boolean dr3dSpecularValue)
        Sets the value of ODFDOM attribute representation Dr3dSpecularAttribute , See @dr3d:specular
        Parameters:
        dr3dSpecularValue - The type is Boolean
      • 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