Class DrawPathStretchpointYAttribute

    • Field Detail

      • ATTRIBUTE_NAME

        public static final OdfName ATTRIBUTE_NAME
    • Constructor Detail

      • DrawPathStretchpointYAttribute

        public DrawPathStretchpointYAttribute​(OdfFileDom ownerDocument)
        Create the instance of OpenDocument attribute @draw:path-stretchpoint-y.
        Parameters:
        ownerDocument - The type is OdfFileDom
    • Method Detail

      • getName

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

        public void setDoubleValue​(double value)
        Parameters:
        value - The double value of the attribute.
      • doubleValue

        public double doubleValue()
        Returns:
        Returns the double value of the attribute
      • hasDefault

        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:path-stretchpoint-y has an element parent otherwise return false as undefined.
      • isId

        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 ?)