Package de.uplanet.lucy.server.renderer
Schnittstelle IRenderingContext
- Alle bekannten Implementierungsklassen:
RenderingContext
public interface IRenderingContext
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the currency decimal separator.Get the currency digit separator.intGet the number of fraction digits for currency values.Get the date format string.Get the date/time format string.intGet the first day of the week.Get the integer digit separator.Get the language identifier.Get the long date format string.Get the number decimal separator.Get the number digit separator.intGet the number of fraction digits of floating point numbers.Get a parameter.Get the rounding mode.Get the short date format string.Get the time format string.Get the time zone.booleanDetermine if currency values less than1and greater than-1should have a zero digit on the left hand side of the decimal seperator, or not.booleanDetermine if floating point numbers less than1and greater than-1should have a zero digit on the left hand side of the decimal seperator, or not.voidsetCurrencyAlwaysShowIntegerPart(boolean p_bAlwaysShowIntegerPart) Determine if currency values less than1and greater than-1should have a zero digit on the left hand side of the decimal seperator, or not.voidsetCurrencyDecimalSeparator(String p_strSeparator) Set the currency decimal separator.voidsetCurrencyDigitSeparator(String p_strSeparator) Set the currency digit separator.voidsetCurrencyFractionDigits(int p_iFractionDigits) Set the number of fraction digits for currency values.voidsetDateFormat(String p_strDateFormat) Set the date format string.voidsetDateTimeFormat(String p_strDateTimeFormat) Set the date/time format string.voidsetFirstDayOfWeek(int p_iFirstDayOfWeek) Set the first day of the week.voidsetIntegerDigitSeparator(String p_strSeparator) Set the integer digit separator.voidsetLanguage(String p_strLang) Set the language identifier.voidvoidsetLongDateFormat(String p_strDateFormat) Set the long date format string.voidsetNumberAlwaysShowIntegerPart(boolean p_bAlwaysShowIntegerPart) Determine if floating point numbers less than1and greater than-1should have a zero digit on the left hand side of the decimal seperator, or not.voidsetNumberDecimalSeparator(String p_strSeparator) Set the number decimal separator.voidsetNumberDigitSeparator(String p_strSeparator) Set the number digit separator.voidsetNumberFractionDigits(int p_iFractionDigits) Set the number of fraction digits of floating point numbers.voidSet a parameter.voidsetRoundingMode(RoundingMode p_roundingMode) Set the rounding mode.voidsetShortDateFormat(String p_strDateFormat) Set the short date format string.voidsetTimeFormat(String p_strTimeFormat) Set the time format string.voidsetTimeZone(TimeZone p_tz) Set the time zone.voidsetTimeZoneById(String p_strTimeZone) Set the time zone by it's identifier.
-
Methodendetails
-
getParam
Get a parameter.- Parameter:
p_strName- The name of the parameter.- Gibt zurück:
- The value of the parameter.
-
setParam
Set a parameter.- Parameter:
p_strName- The name of the parameter.p_strValue- The value of the parameter.
-
getLanguage
String getLanguage()Get the language identifier.- Gibt zurück:
- The language identifier.
-
setLanguage
Set the language identifier.- Parameter:
p_strLang- The language identifier.
-
getLocale
Locale getLocale()- Gibt zurück:
- Returns the locale
-
setLocale
- Parameter:
p_locale- The locale to set.
-
getTimeZone
TimeZone getTimeZone()Get the time zone.- Gibt zurück:
- The time zone.
-
setTimeZone
Set the time zone.- Parameter:
p_tz- The time zone.
-
setTimeZoneById
Set the time zone by it's identifier.- Parameter:
p_strTimeZone- The Java time zone identifier.
-
getDateTimeFormat
String getDateTimeFormat()Get the date/time format string.- Gibt zurück:
- The date/time format string.
-
setDateTimeFormat
Set the date/time format string.- Parameter:
p_strDateTimeFormat- The date/time format string.
-
getDateFormat
String getDateFormat()Get the date format string.- Gibt zurück:
- The date format string.
-
setDateFormat
Set the date format string.- Parameter:
p_strDateFormat- The date format string.
-
getShortDateFormat
String getShortDateFormat()Get the short date format string.- Gibt zurück:
- The short date format string.
-
setShortDateFormat
Set the short date format string.- Parameter:
p_strDateFormat- The short date format string.
-
getLongDateFormat
String getLongDateFormat()Get the long date format string.- Gibt zurück:
- The long date format string.
-
setLongDateFormat
Set the long date format string.- Parameter:
p_strDateFormat- The long date format string.
-
getTimeFormat
String getTimeFormat()Get the time format string.- Gibt zurück:
- The time format string.
-
setTimeFormat
Set the time format string.- Parameter:
p_strTimeFormat- The time format string.
-
getNumberDecimalSeparator
String getNumberDecimalSeparator()Get the number decimal separator.- Gibt zurück:
- The number decimal separator.
-
setNumberDecimalSeparator
Set the number decimal separator.- Parameter:
p_strSeparator- The number decimal separator.
-
getIntegerDigitSeparator
String getIntegerDigitSeparator()Get the integer digit separator.- Gibt zurück:
- The Integer digit separator.
-
setIntegerDigitSeparator
Set the integer digit separator.- Parameter:
p_strSeparator- The number digit separator.
-
getNumberDigitSeparator
String getNumberDigitSeparator()Get the number digit separator.- Gibt zurück:
- The number digit separator.
-
setNumberDigitSeparator
Set the number digit separator.- Parameter:
p_strSeparator- The number digit separator.
-
getNumberFractionDigits
int getNumberFractionDigits()Get the number of fraction digits of floating point numbers.- Gibt zurück:
- 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.- Parameter:
p_iFractionDigits- The number of fraction digits of floating point numbers.
-
isNumberAlwaysShowIntegerPart
boolean isNumberAlwaysShowIntegerPart()Determine if floating point numbers less than1and greater than-1should have a zero digit on the left hand side of the decimal seperator, or not. -
setRoundingMode
Set the rounding mode.- Parameter:
p_roundingMode- The rounding mode.
-
getRoundingMode
RoundingMode getRoundingMode()Get the rounding mode.- Gibt zurück:
- The rounding mode.
-
setNumberAlwaysShowIntegerPart
void setNumberAlwaysShowIntegerPart(boolean p_bAlwaysShowIntegerPart) Determine if floating point numbers less than1and greater than-1should have a zero digit on the left hand side of the decimal seperator, or not. -
getCurrencyDecimalSeparator
String getCurrencyDecimalSeparator()Get the currency decimal separator.- Gibt zurück:
- The currency decimal separator.
-
setCurrencyDecimalSeparator
Set the currency decimal separator.- Parameter:
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- Gibt zurück:
- The currency digit separator.
-
setCurrencyDigitSeparator
Set the currency digit separator. It is used for seperating groups of digits, e.g. in steps of thousand- Parameter:
p_strSeparator- The currency digit separator.
-
getCurrencyFractionDigits
int getCurrencyFractionDigits()Get the number of fraction digits for currency values.- Gibt zurück:
- The number of fraction digits for currency values.
-
setCurrencyFractionDigits
void setCurrencyFractionDigits(int p_iFractionDigits) Set the number of fraction digits for currency values.- Parameter:
p_iFractionDigits- The number of fraction digits for currency values.
-
isCurrencyAlwaysShowIntegerPart
boolean isCurrencyAlwaysShowIntegerPart()Determine if currency values less than1and greater than-1should 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 than1and greater than-1should 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.- Gibt zurück:
1for Sunday,2for monday, ...,7for saturday.
-
setFirstDayOfWeek
void setFirstDayOfWeek(int p_iFirstDayOfWeek) Set the first day of the week.- Parameter:
p_iFirstDayOfWeek- The first day of the week;1for Sunday,2for monday, ...,7for saturday.
-