Class DrawImageOpacityAttribute

All Implemented Interfaces:
Serializable, Cloneable, Attr, EventTarget, Node, NodeList, TypeInfo

public class DrawImageOpacityAttribute extends OdfAttribute
DOM implementation of OpenDocument attribute @draw:image-opacity.
See Also:
  • Field Details Link icon

    • ATTRIBUTE_NAME Link icon

      public static final OdfName ATTRIBUTE_NAME
  • Constructor Details Link icon

    • DrawImageOpacityAttribute Link icon

      public DrawImageOpacityAttribute(OdfFileDom ownerDocument)
      Create the instance of OpenDocument attribute @draw:image-opacity.
      Parameters:
      ownerDocument - The type is OdfFileDom
  • Method Details Link icon

    • getOdfName Link icon

      public OdfName getOdfName()
      Returns the attribute name.
      Specified by:
      getOdfName in class OdfAttribute
      Returns:
      the OdfName for @draw:image-opacity.
    • getName Link icon

      public String getName()
      Specified by:
      getName in interface Attr
      Overrides:
      getName in class AttrImpl
      Returns:
      Returns the name of this attribute.
    • getDefault Link icon

      public String getDefault()
      Returns the default value of @draw:image-opacity.
      Specified by:
      getDefault in class OdfAttribute
      Returns:
      the default value as String dependent of its element name return null if the default value does not exist
    • hasDefault Link icon

      public boolean hasDefault()
      Default value indicator. As the attribute default value is dependent from its element, the attribute has only a default, when a parent element exists.
      Specified by:
      hasDefault in class OdfAttribute
      Returns:
      true if @draw:image-opacity has an element parent otherwise return false as undefined.
    • isId Link icon

      public boolean isId()
      Specified by:
      isId in interface Attr
      Overrides:
      isId in class AttrImpl
      Returns:
      Returns whether this attribute is known to be of type ID (i.e. xml:id ?)