org.rhq.core.clientapi.util.units
Class NoFormatter

java.lang.Object
  extended by org.rhq.core.clientapi.util.units.SimpleFormatter
      extended by org.rhq.core.clientapi.util.units.NoFormatter
All Implemented Interfaces:
Formatter

public class NoFormatter
extends SimpleFormatter


Constructor Summary
NoFormatter()
           
 
Method Summary
protected  FormattedNumber formatNumber(double rawValue, NumberFormat fmt)
           
protected  ScaleConstants getUnitScale()
           
protected  UnitsConstants getUnitType()
           
 
Methods inherited from class org.rhq.core.clientapi.util.units.SimpleFormatter
format, formatSame, getBaseValue, getNumberFormat, getScaledValue, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoFormatter

public NoFormatter()
Method Detail

getUnitType

protected UnitsConstants getUnitType()
Specified by:
getUnitType in class SimpleFormatter

getUnitScale

protected ScaleConstants getUnitScale()
Specified by:
getUnitScale in class SimpleFormatter

formatNumber

protected FormattedNumber formatNumber(double rawValue,
                                       NumberFormat fmt)
Specified by:
formatNumber in class SimpleFormatter


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.