lt.monarch.chart.mapper
Class LogAxisScale.ExponentFormat

java.lang.Object
  extended by java.text.Format
      extended by lt.monarch.chart.mapper.LogAxisScale.ExponentFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
LogAxisScale

public static class LogAxisScale.ExponentFormat
extends java.text.Format

Exponential number format.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class java.text.Format
java.text.Format.Field
 
Constructor Summary
Constructor and Description
LogAxisScale.ExponentFormat()
           
 
Method Summary
Modifier and Type Method and Description
 java.lang.String format(double pow)
           
 java.lang.String format(int pow)
           
 java.lang.String format(long pow)
          Returns exponential text representation of value Math.pow(10, pow).
 java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
           
 java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos)
           
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogAxisScale.ExponentFormat

public LogAxisScale.ExponentFormat()
Method Detail

format

public java.lang.StringBuffer format(java.lang.Object obj,
                                     java.lang.StringBuffer toAppendTo,
                                     java.text.FieldPosition pos)
Specified by:
format in class java.text.Format

parseObject

public java.lang.Object parseObject(java.lang.String source,
                                    java.text.ParsePosition pos)
Specified by:
parseObject in class java.text.Format

format

public final java.lang.String format(long pow)
Returns exponential text representation of value Math.pow(10, pow).

Parameters:
pow - The power
Returns:
exponential text representation of value Math.pow(10, pow)

format

public final java.lang.String format(int pow)

format

public final java.lang.String format(double pow)