Interface IRenderingContext

All Known Implementing Classes:
RenderingContext

public interface IRenderingContext
  • Method Details

    • getParam

      Object getParam(String p_strName)
      Get a parameter.
      Parameters:
      p_strName - The name of the parameter.
      Returns:
      The value of the parameter.
    • setParam

      void setParam(String p_strName, String p_strValue)
      Set a parameter.
      Parameters:
      p_strName - The name of the parameter.
      p_strValue - The value of the parameter.
    • getLanguage

      String getLanguage()
      Get the language identifier.
      Returns:
      The language identifier.
    • setLanguage

      void setLanguage(String p_strLang)
      Set the language identifier.
      Parameters:
      p_strLang - The language identifier.
    • getLocale

      Locale getLocale()
      Returns:
      Returns the locale
    • setLocale

      void setLocale(Locale p_locale)
      Parameters:
      p_locale - The locale to set.
    • getTimeZone

      TimeZone getTimeZone()
      Get the time zone.
      Returns:
      The time zone.
    • setTimeZone

      void setTimeZone(TimeZone p_tz)
      Set the time zone.
      Parameters:
      p_tz - The time zone.
    • setTimeZoneById

      void setTimeZoneById(String p_strTimeZone)
      Set the time zone by it's identifier.
      Parameters:
      p_strTimeZone - The Java time zone identifier.
    • getDateTimeFormat

      String getDateTimeFormat()
      Get the date/time format string.
      Returns:
      The date/time format string.
    • setDateTimeFormat

      void setDateTimeFormat(String p_strDateTimeFormat)
      Set the date/time format string.
      Parameters:
      p_strDateTimeFormat - The date/time format string.
    • getDateFormat

      String getDateFormat()
      Get the date format string.
      Returns:
      The date format string.
    • setDateFormat

      void setDateFormat(String p_strDateFormat)
      Set the date format string.
      Parameters:
      p_strDateFormat - The date format string.
    • getShortDateFormat

      String getShortDateFormat()
      Get the short date format string.
      Returns:
      The short date format string.
    • setShortDateFormat

      void setShortDateFormat(String p_strDateFormat)
      Set the short date format string.
      Parameters:
      p_strDateFormat - The short date format string.
    • getLongDateFormat

      String getLongDateFormat()
      Get the long date format string.
      Returns:
      The long date format string.
    • setLongDateFormat

      void setLongDateFormat(String p_strDateFormat)
      Set the long date format string.
      Parameters:
      p_strDateFormat - The long date format string.
    • getTimeFormat

      String getTimeFormat()
      Get the time format string.
      Returns:
      The time format string.
    • setTimeFormat

      void setTimeFormat(String p_strTimeFormat)
      Set the time format string.
      Parameters:
      p_strTimeFormat - The time format string.
    • getNumberDecimalSeparator

      String getNumberDecimalSeparator()
      Get the number decimal separator.
      Returns:
      The number decimal separator.
    • setNumberDecimalSeparator

      void setNumberDecimalSeparator(String p_strSeparator)
      Set the number decimal separator.
      Parameters:
      p_strSeparator - The number decimal separator.
    • getIntegerDigitSeparator

      String getIntegerDigitSeparator()
      Get the integer digit separator.
      Returns:
      The Integer digit separator.
    • setIntegerDigitSeparator

      void setIntegerDigitSeparator(String p_strSeparator)
      Set the integer digit separator.
      Parameters:
      p_strSeparator - The number digit separator.
    • getNumberDigitSeparator

      String getNumberDigitSeparator()
      Get the number digit separator.
      Returns:
      The number digit separator.
    • setNumberDigitSeparator

      void setNumberDigitSeparator(String p_strSeparator)
      Set the number digit separator.
      Parameters:
      p_strSeparator - The number digit separator.
    • getNumberFractionDigits

      int getNumberFractionDigits()
      Get the number of fraction digits of floating point numbers.
      Returns:
      The number of fraction digits of floating point numbers.
    • setNumberFractionDigits

      void setNumberFractionDigits(int p_iFractionDigits)
      Set the number of fraction digits of floating point numbers.
      Parameters:
      p_iFractionDigits - The number of fraction digits of floating point numbers.
    • isNumberAlwaysShowIntegerPart

      boolean isNumberAlwaysShowIntegerPart()
      Determine if floating point numbers less than 1 and greater than -1 should have a zero digit on the left hand side of the decimal seperator, or not.
    • setRoundingMode

      void setRoundingMode(RoundingMode p_roundingMode)
      Set the rounding mode.
      Parameters:
      p_roundingMode - The rounding mode.
    • getRoundingMode

      RoundingMode getRoundingMode()
      Get the rounding mode.
      Returns:
      The rounding mode.
    • setNumberAlwaysShowIntegerPart

      void setNumberAlwaysShowIntegerPart(boolean p_bAlwaysShowIntegerPart)
      Determine if floating point numbers less than 1 and greater than -1 should have a zero digit on the left hand side of the decimal seperator, or not.
    • getCurrencyDecimalSeparator

      String getCurrencyDecimalSeparator()
      Get the currency decimal separator.
      Returns:
      The currency decimal separator.
    • setCurrencyDecimalSeparator

      void setCurrencyDecimalSeparator(String p_strSeparator)
      Set the currency decimal separator.
      Parameters:
      p_strSeparator - The currency decimal separator.
    • getCurrencyDigitSeparator

      String getCurrencyDigitSeparator()
      Get the currency digit separator. It is used for seperating groups of digits, e.g. in steps of thousand
      Returns:
      The currency digit separator.
    • setCurrencyDigitSeparator

      void setCurrencyDigitSeparator(String p_strSeparator)
      Set the currency digit separator. It is used for seperating groups of digits, e.g. in steps of thousand
      Parameters:
      p_strSeparator - The currency digit separator.
    • getCurrencyFractionDigits

      int getCurrencyFractionDigits()
      Get the number of fraction digits for currency values.
      Returns:
      The number of fraction digits for currency values.
    • setCurrencyFractionDigits

      void setCurrencyFractionDigits(int p_iFractionDigits)
      Set the number of fraction digits for currency values.
      Parameters:
      p_iFractionDigits - The number of fraction digits for currency values.
    • isCurrencyAlwaysShowIntegerPart

      boolean isCurrencyAlwaysShowIntegerPart()
      Determine if currency values less than 1 and greater than -1 should have a zero digit on the left hand side of the decimal seperator, or not.
    • setCurrencyAlwaysShowIntegerPart

      void setCurrencyAlwaysShowIntegerPart(boolean p_bAlwaysShowIntegerPart)
      Determine if currency values less than 1 and greater than -1 should have a zero digit on the left hand side of the decimal seperator, or not.
    • getFirstDayOfWeek

      int getFirstDayOfWeek()
      Get the first day of the week.
      Returns:
      1 for Sunday, 2 for monday, ..., 7 for saturday.
    • setFirstDayOfWeek

      void setFirstDayOfWeek(int p_iFirstDayOfWeek)
      Set the first day of the week.
      Parameters:
      p_iFirstDayOfWeek - The first day of the week; 1 for Sunday, 2 for monday, ..., 7 for saturday.