Class ScaleLabelCreator


  • public class ScaleLabelCreator
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.ArrayList<ScaleLabel> createLinearLabelList​(double rangeLow, double rangeHigh)
      Creates a list of scale labels with their relative positions for a linear numerical scale with given numerical value range.
      static java.util.ArrayList<ScaleLabel> createLogarithmicLabelList​(double rangeLow, double rangeHigh)
      Creates a list of scale labels with their relative positions for a logarithmical numerical scale with given numerical value range.
      • Methods inherited from class java.lang.Object

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

      • ScaleLabelCreator

        public ScaleLabelCreator()
    • Method Detail

      • createLinearLabelList

        public static java.util.ArrayList<ScaleLabel> createLinearLabelList​(double rangeLow,
                                                                            double rangeHigh)
        Creates a list of scale labels with their relative positions for a linear numerical scale with given numerical value range.
        Parameters:
        rangeLow - low limit of numerical range
        rangeHigh - high limit of numerical range
        Returns:
        list of labels with relative positions
      • createLogarithmicLabelList

        public static java.util.ArrayList<ScaleLabel> createLogarithmicLabelList​(double rangeLow,
                                                                                 double rangeHigh)
        Creates a list of scale labels with their relative positions for a logarithmical numerical scale with given numerical value range.
        Parameters:
        rangeLow - log10 of low limit of numerical range
        rangeHigh - log10 of high limit of numerical range
        Returns:
        list of labels with relative positions