Class ScaleLabel


  • public class ScaleLabel
    extends java.lang.Object
    Contains shown label, the relative position on the scale and the numerical value
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String label  
      double position  
      double value  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScaleLabel​(java.lang.String label, double position, double value)
      Create an ScaleLabel object consisting of visible label, its relative position on the scale and the numerical value behind.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • label

        public java.lang.String label
      • position

        public double position
      • value

        public double value
    • Constructor Detail

      • ScaleLabel

        public ScaleLabel​(java.lang.String label,
                          double position,
                          double value)
        Create an ScaleLabel object consisting of visible label, its relative position on the scale and the numerical value behind.
        Parameters:
        label - the label to be shown
        position - relative label position, >= 0.0 and <= 1.0
        value - numerical value, which in case of a logarithmic scale is log10 of the shown value