Package com.actelion.research.util
Class ScaleLabelCreator
- java.lang.Object
-
- com.actelion.research.util.ScaleLabelCreator
-
public class ScaleLabelCreator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScaleLabelCreator()
-
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.
-
-
-
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 rangerangeHigh
- 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 rangerangeHigh
- log10 of high limit of numerical range- Returns:
- list of labels with relative positions
-
-