Class HTMLProgressElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class HTMLProgressElement
    extends HTMLElement
    The JavaScript object HTMLProgressElement.
    See Also:
    Serialized Form
    • Field Detail

      • labels_

        private NodeList labels_
        "Live" labels collection; has to be a member to have equality (==) working.
    • Constructor Detail

      • HTMLProgressElement

        public HTMLProgressElement()
        Creates an instance.
    • Method Detail

      • getValue

        public java.lang.Double getValue()
        The getter for the "value" property.
        Overrides:
        getValue in class HTMLElement
        Returns:
        the value
      • getMax

        public double getMax()
        The getter for the "max" property.
        Returns:
        the value
      • getAttributeAsDouble

        private double getAttributeAsDouble​(java.lang.String attributeName,
                                            double defaultValue)
      • getLabels

        public NodeList getLabels()
        Returns the labels associated with the element.
        Returns:
        the labels associated with the element