Class HTMLProgressElement

All Implemented Interfaces:
Serializable, 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:
  • Field Details

    • labels_

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

    • HTMLProgressElement

      public HTMLProgressElement()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • getValue

      public 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(String attributeName, double defaultValue)
    • getLabels

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