JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Class JCChartNumberFormat

java.lang.Object
  |
  +--com.klg.jclass.chart.JCChartNumberFormat

public class JCChartNumberFormat
extends Object

JCChartNumberFormat provides a number of static methods used in numbers localization.


Constructor Summary
JCChartNumberFormat(com.klg.jclass.chart.ChartInteriorRegion parent)
           
 
Method Summary
 String localize(String s)
          Localizes a String.
 String localize(String s, int prec)
          Localizes a String.
 void setNumberFormatterLocale(Locale l)
          Sets the number formatter to a given locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCChartNumberFormat

public JCChartNumberFormat(com.klg.jclass.chart.ChartInteriorRegion parent)
Method Detail

localize

public String localize(String s)
Localizes a String.

Parameters:
s - the String to be localized
Returns:
the localized String

localize

public String localize(String s,
                       int prec)
Localizes a String.

Parameters:
s - The String to be localized
prec - The required precision if the String is for an axis annotation. If not an axis annotation, the precision parameter is ignored.
Returns:
The localized String

setNumberFormatterLocale

public void setNumberFormatterLocale(Locale l)
Sets the number formatter to a given locale.

Parameters:
l -

Copyright © 2004 Quest Software Inc..
All rights reserved.