com.google.gwt.visualization.client.formatters
Class NumberFormat.Options

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.visualization.client.formatters.NumberFormat.Options
Enclosing class:
NumberFormat

public static class NumberFormat.Options
extends com.google.gwt.core.client.JavaScriptObject

Options to configure the formatter.


Constructor Summary
protected NumberFormat.Options()
           
 
Method Summary
static NumberFormat.Options create()
           
 void setDecimalSymbol(java.lang.String symbol)
           
 void setFractionDigits(int n)
           
 void setNegativeColor(java.lang.String color)
           
 void setNegativeParens(boolean parens)
           
 void setPrefix(java.lang.String prefix)
           
 void setSuffix(java.lang.String suffix)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberFormat.Options

protected NumberFormat.Options()
Method Detail

create

public static NumberFormat.Options create()

setDecimalSymbol

public final void setDecimalSymbol(java.lang.String symbol)

setFractionDigits

public final void setFractionDigits(int n)

setNegativeColor

public final void setNegativeColor(java.lang.String color)

setNegativeParens

public final void setNegativeParens(boolean parens)

setPrefix

public final void setPrefix(java.lang.String prefix)

setSuffix

public final void setSuffix(java.lang.String suffix)