com.stimulsoft.lib.utils
Class StiCurrencyFormat
java.lang.Object
com.stimulsoft.lib.utils.StiCurrencyFormat
public class StiCurrencyFormat
- extends java.lang.Object
Describes a service for the text formatting as currency values.
|
Constructor Summary |
StiCurrencyFormat(int positivePattern,
int negativePattern,
java.lang.String decimalSeparator,
int decimalDigits,
java.lang.String groupSeparator,
int groupSize,
java.lang.String symbol,
boolean useGroupSeparator,
boolean useLocalSetting,
java.lang.String nullDisplay)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiCurrencyFormat
public StiCurrencyFormat(int positivePattern,
int negativePattern,
java.lang.String decimalSeparator,
int decimalDigits,
java.lang.String groupSeparator,
int groupSize,
java.lang.String symbol,
boolean useGroupSeparator,
boolean useLocalSetting,
java.lang.String nullDisplay)
- Parameters:
positivePattern - negativePattern - decimalSeparator - decimalDigits - groupSeparator - groupSize - symbol - useGroupSeparator - useLocalSetting - nullDisplay -
getDecimalSeparator
public java.lang.String getDecimalSeparator()
- Returns:
- the decimalSeparator
getCurrencyPositivePattern
public int getCurrencyPositivePattern()
- Returns:
- the currencyPositivePattern
setCurrencyPositivePattern
public void setCurrencyPositivePattern(int currencyPositivePattern)
- Parameters:
currencyPositivePattern - the currencyPositivePattern to set
getCurrencyNegativePattern
public int getCurrencyNegativePattern()
- Returns:
- the currencyNegativePattern
setCurrencyNegativePattern
public void setCurrencyNegativePattern(int currencyNegativePattern)
- Parameters:
currencyNegativePattern - the currencyNegativePattern to set
setDecimalSeparator
public void setDecimalSeparator(java.lang.String decimalSeparator)
- Parameters:
decimalSeparator - the decimalSeparator to set
getDecimalDigits
public int getDecimalDigits()
- Returns:
- the decimalDigits
setDecimalDigits
public void setDecimalDigits(int decimalDigits)
- Parameters:
decimalDigits - the decimalDigits to set
getGroupSeparator
public java.lang.String getGroupSeparator()
- Returns:
- the groupSeparator
setGroupSeparator
public void setGroupSeparator(java.lang.String groupSeparator)
- Parameters:
groupSeparator - the groupSeparator to set
getGroupSize
public int getGroupSize()
- Returns:
- the groupSize
setGroupSize
public void setGroupSize(int groupSize)
- Parameters:
groupSize - the groupSize to set
getSymbol
public java.lang.String getSymbol()
- Returns:
- the symbol
setSymbol
public void setSymbol(java.lang.String symbol)
- Parameters:
symbol - the symbol to set
isUseGroupSeparator
public boolean isUseGroupSeparator()
- Returns:
- the useGroupSeparator
setUseGroupSeparator
public void setUseGroupSeparator(boolean useGroupSeparator)
- Parameters:
useGroupSeparator - the useGroupSeparator to set
isUseLocalSetting
public boolean isUseLocalSetting()
- Returns:
- the useLocalSetting
setUseLocalSetting
public void setUseLocalSetting(boolean useLocalSetting)
- Parameters:
useLocalSetting - the useLocalSetting to set
getNullDisplay
public java.lang.String getNullDisplay()
- Returns:
- the nullDisplay
setNullDisplay
public void setNullDisplay(java.lang.String nullDisplay)
- Parameters:
nullDisplay - the nullDisplay to set