lt.monarch.chart.mapper
Class MathAxisScale.SubScale

java.lang.Object
  extended by lt.monarch.chart.mapper.AnalogAxisScale
      extended by lt.monarch.chart.mapper.MathAxisScale
          extended by lt.monarch.chart.mapper.MathAxisScale.SubScale
All Implemented Interfaces:
java.io.Serializable, AxisScale
Enclosing class:
MathAxisScale

public static class MathAxisScale.SubScale
extends MathAxisScale

The sub-scale of MathAxisScale. The sub-scale has no labels.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class lt.monarch.chart.mapper.MathAxisScale
MathAxisScale.SubScale
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.mapper.MathAxisScale
range
 
Fields inherited from class lt.monarch.chart.mapper.AnalogAxisScale
subscaleTickCount
 
Constructor Summary
Constructor and Description
MathAxisScale.SubScale(NormalizedMathRange r)
          Constructs a new SubScale with the specified range.
 
Method Summary
Modifier and Type Method and Description
 java.lang.String getLabelAt(int i)
          Returns null.
 java.lang.String getLabelAt(int i, java.util.Locale locale)
          Returns null.
 void setSubscaleTickCount(int subscaleTickCount)
          Sets the subscale count value, if automatic then subscaleCount equals null.
 
Methods inherited from class lt.monarch.chart.mapper.MathAxisScale
createSubScale, findNearestMark, formatKey, getDefaultNumberFormat, getLastLocale, getLastNumberFormat, getMarkCount, getNumberFormat, getSubScale, mapMark, mapMarkTicks, setDrawSubScale, setLastLocale, setLastNumberFormat, setNumberFormat
 
Methods inherited from class lt.monarch.chart.mapper.AnalogAxisScale
getSubscaleTickCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathAxisScale.SubScale

public MathAxisScale.SubScale(NormalizedMathRange r)
Constructs a new SubScale with the specified range.

Parameters:
r - the range
Method Detail

setSubscaleTickCount

public void setSubscaleTickCount(int subscaleTickCount)
Description copied from class: AnalogAxisScale
Sets the subscale count value, if automatic then subscaleCount equals null. This is an internal API. Do not use it.

Overrides:
setSubscaleTickCount in class AnalogAxisScale
Parameters:
subscaleTickCount - the subscaleCount value

getLabelAt

public java.lang.String getLabelAt(int i)
Returns null.

Specified by:
getLabelAt in interface AxisScale
Overrides:
getLabelAt in class MathAxisScale
Parameters:
i - the label index
Returns:
null

getLabelAt

public java.lang.String getLabelAt(int i,
                                   java.util.Locale locale)
Returns null.

Specified by:
getLabelAt in interface AxisScale
Overrides:
getLabelAt in class MathAxisScale
Parameters:
i - the label index
locale - the locale
Returns:
null