com.tonbeller.jpivot.olap.model.impl
Class NumberFormatImpl

java.lang.Object
  extended by com.tonbeller.jpivot.olap.model.impl.NumberFormatImpl
All Implemented Interfaces:
NumberFormat

public class NumberFormatImpl
extends java.lang.Object
implements NumberFormat

Author:
av

Constructor Summary
NumberFormatImpl()
           
 
Method Summary
 int getFractionDigits()
           
 boolean isGrouping()
           
 boolean isPercent()
           
 void setFractionDigits(int fractionDigits)
          Sets the fractionDigits.
 void setGrouping(boolean grouping)
          Sets the grouping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberFormatImpl

public NumberFormatImpl()
Method Detail

getFractionDigits

public int getFractionDigits()
Specified by:
getFractionDigits in interface NumberFormat
Returns:
int

isGrouping

public boolean isGrouping()
Specified by:
isGrouping in interface NumberFormat
Returns:
boolean

setFractionDigits

public void setFractionDigits(int fractionDigits)
Sets the fractionDigits.

Parameters:
fractionDigits - The fractionDigits to set

setGrouping

public void setGrouping(boolean grouping)
Sets the grouping.

Parameters:
grouping - The grouping to set

isPercent

public boolean isPercent()
Specified by:
isPercent in interface NumberFormat
See Also:
NumberFormat.isPercent()