org.faceless.graph.formatter
Class SimpleFormatter
java.lang.Object
org.faceless.graph.formatter.Formatter
org.faceless.graph.formatter.SimpleFormatter
public class SimpleFormatter
- extends Formatter
Format values using a user defined java.text.DecimalFormat
Method Summary |
String |
format(double in)
Return a String that is the formatted version of the input
parameter. |
SimpleFormatter
public SimpleFormatter(DecimalFormat format)
- Create a new SimpleFormatter
- Parameters:
format
- The java.text.DecimalFormat
to use.
format
public String format(double in)
- Description copied from class:
Formatter
- Return a String that is the formatted version of the input
parameter.
- Specified by:
format
in class Formatter
Copyright © 2001-2012 Big Faceless Organization