Class HTMLMeterElement

  • 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 HTMLMeterElement
    extends HTMLElement
    The JavaScript object HTMLMeterElement.
    See Also:
    Serialized Form
    • Field Detail

      • labels_

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

      • HTMLMeterElement

        public HTMLMeterElement()
        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
      • getMin

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

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

        public double getLow()
        The getter for the "low" property.
        Returns:
        the value
      • getHigh

        public double getHigh()
        The getter for the "high" property.
        Returns:
        the value
      • getOptimum

        public double getOptimum()
        The getter for the "optimum" 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