Class StiCurrencyFormat

java.lang.Object
com.stimulsoft.lib.utils.StiCurrencyFormat

public class StiCurrencyFormat extends Object
Describes a service for the text formatting as currency values.
  • Constructor Details

    • StiCurrencyFormat

      public StiCurrencyFormat(int positivePattern, int negativePattern, String decimalSeparator, int decimalDigits, String groupSeparator, int[] groupSizes, String symbol, boolean useGroupSeparator, boolean useLocalSetting, String nullDisplay)
      Parameters:
      positivePattern -
      negativePattern -
      decimalSeparator -
      decimalDigits -
      groupSeparator -
      symbol -
      useGroupSeparator -
      useLocalSetting -
      nullDisplay -
      groupSize -
  • Method Details

    • getDecimalSeparator

      public 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(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 String getGroupSeparator()
      Returns:
      the groupSeparator
    • setGroupSeparator

      public void setGroupSeparator(String groupSeparator)
      Parameters:
      groupSeparator - the groupSeparator to set
    • getGroupSizes

      public int[] getGroupSizes()
      Returns:
      the groupSize
    • setGroupSize

      public void setGroupSize(int[] groupSizes)
      Parameters:
      groupSize - the groupSize to set
    • getSymbol

      public String getSymbol()
      Returns:
      the symbol
    • setSymbol

      public void setSymbol(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 String getNullDisplay()
      Returns:
      the nullDisplay
    • setNullDisplay

      public void setNullDisplay(String nullDisplay)
      Parameters:
      nullDisplay - the nullDisplay to set