Documentation of 'info.monitorenter.gui.chart.LabeledValue' Java class
LabeledValue
info.monitorenter.gui.chart

Class LabeledValue



  • public class LabeledValue
    extends java.lang.Object
    A double value along with it's label.

    Very primitive class comparable to a c struct.

    • Constructor Summary

      Constructors 
      Constructor and Description
      LabeledValue()
      Internal defcon.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getLabel()
      Returns the label String.
      double getValue()
      Returns the value of this label which is scaled to lie between 0.0 and 1.0.
      boolean isMajorTick()
      Returns true if this label is a major tick, false else.
      void setLabel(java.lang.String label)
      Sets the label String.
      void setMajorTick(boolean isMajorTick)
      Set this label as a major tick.
      void setValue(double value)
      Sets the value.
      java.lang.String toString()
      Returns the concatenation of the label string, ':' and the value's String representation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LabeledValue

        public LabeledValue()
        Internal defcon.

    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Returns the label String.

        Returns:
        the label String.
      • getValue

        public double getValue()
        Returns the value of this label which is scaled to lie between 0.0 and 1.0.

        Returns:
        the value of this label which is scaled to lie between 0.0 and 1.0.
      • setLabel

        public void setLabel(java.lang.String label)
        Sets the label String.

        Parameters:
        label - the label String.
      • setValue

        public final void setValue(double value)
        Sets the value.

        Parameters:
        value - The value to set.
      • toString

        public java.lang.String toString()
        Returns the concatenation of the label string, ':' and the value's String representation.

        Overrides:
        toString in class java.lang.Object
        Returns:
        the concatenation of the label string, ':' and the value's String representation.
        See Also:
        Object.toString()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.