de.uplanet.lucy.server.renderer
Interface IRenderingContext

All Known Implementing Classes:
RenderingContext

public interface IRenderingContext

Version:
$Revision: 44546 $

Method Summary
 java.lang.String getCurrencyDecimalSeparator()
          Get the currency decimal separator.
 java.lang.String getCurrencyDigitSeparator()
          Get the currency digit separator.
 int getCurrencyFractionDigits()
          Get the number of fraction digits for currency values.
 java.lang.String getDateFormat()
          Get the date format string.
 java.lang.String getDateTimeFormat()
          Get the date/time format string.
 int getFirstDayOfWeek()
          Get the first day of the week.
 java.lang.String getIntegerDigitSeparator()
          Get the integer digit separator.
 java.lang.String getLanguage()
          Get the language identifier.
 java.lang.String getLongDateFormat()
          Get the long date format string.
 java.lang.String getNumberDecimalSeparator()
          Get the number decimal separator.
 java.lang.String getNumberDigitSeparator()
          Get the number digit separator.
 int getNumberFractionDigits()
          Get the number of fraction digits of floating point numbers.
 java.lang.Object getParam(java.lang.String p_strName)
          Get a parameter.
 java.lang.String getShortDateFormat()
          Get the short date format string.
 java.lang.String getTimeFormat()
          Get the time format string.
 java.util.TimeZone getTimeZone()
          Get the time zone.
 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.
 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.
 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.
 void setCurrencyDecimalSeparator(java.lang.String p_strSeparator)
          Set the currency decimal separator.
 void setCurrencyDigitSeparator(java.lang.String p_strSeparator)
          Set the currency digit separator.
 void setCurrencyFractionDigits(int p_iFractionDigits)
          Set the number of fraction digits for currency values.
 void setDateFormat(java.lang.String p_strDateFormat)
          Set the date format string.
 void setDateTimeFormat(java.lang.String p_strDateTimeFormat)
          Set the date/time format string.
 void setFirstDayOfWeek(int p_iFirstDayOfWeek)
          Set the first day of the week.
 void setIntegerDigitSeparator(java.lang.String p_strSeparator)
          Set the integer digit separator.
 void setLanguage(java.lang.String p_strLang)
          Set the language identifier.
 void setLongDateFormat(java.lang.String p_strDateFormat)
          Set the long date format string.
 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.
 void setNumberDecimalSeparator(java.lang.String p_strSeparator)
          Set the number decimal separator.
 void setNumberDigitSeparator(java.lang.String p_strSeparator)
          Set the number digit separator.
 void setNumberFractionDigits(int p_iFractionDigits)
          Set the number of fraction digits of floating point numbers.
 void setParam(java.lang.String p_strName, java.lang.String p_strValue)
          Set a parameter.
 void setShortDateFormat(java.lang.String p_strDateFormat)
          Set the short date format string.
 void setTimeFormat(java.lang.String p_strTimeFormat)
          Set the time format string.
 void setTimeZone(java.util.TimeZone p_tz)
          Set the time zone.
 void setTimeZoneById(java.lang.String p_strTimeZone)
          Set the time zone by it's identifier.
 

Method Detail

getParam

java.lang.Object getParam(java.lang.String p_strName)
Get a parameter.

Parameters:
p_strName - The name of the parameter.
Returns:
The value of the parameter.

setParam

void setParam(java.lang.String p_strName,
              java.lang.String p_strValue)
Set a parameter.

Parameters:
p_strName - The name of the parameter.
p_strValue - The value of the parameter.

getLanguage

java.lang.String getLanguage()
Get the language identifier.

Returns:
The language identifier.

setLanguage

void setLanguage(java.lang.String p_strLang)
Set the language identifier.

Parameters:
p_strLang - The language identifier.

getTimeZone

java.util.TimeZone getTimeZone()
Get the time zone.

Returns:
The time zone.

setTimeZone

void setTimeZone(java.util.TimeZone p_tz)
Set the time zone.

Parameters:
p_tz - The time zone.

setTimeZoneById

void setTimeZoneById(java.lang.String p_strTimeZone)
Set the time zone by it's identifier.

Parameters:
p_strTimeZone - The Java time zone identifier.

getDateTimeFormat

java.lang.String getDateTimeFormat()
Get the date/time format string.

Returns:
The date/time format string.

setDateTimeFormat

void setDateTimeFormat(java.lang.String p_strDateTimeFormat)
Set the date/time format string.

Parameters:
p_strDateTimeFormat - The date/time format string.

getDateFormat

java.lang.String getDateFormat()
Get the date format string.

Returns:
The date format string.

setDateFormat

void setDateFormat(java.lang.String p_strDateFormat)
Set the date format string.

Parameters:
p_strDateFormat - The date format string.

getShortDateFormat

java.lang.String getShortDateFormat()
Get the short date format string.

Returns:
The short date format string.

setShortDateFormat

void setShortDateFormat(java.lang.String p_strDateFormat)
Set the short date format string.

Parameters:
p_strDateFormat - The short date format string.

getLongDateFormat

java.lang.String getLongDateFormat()
Get the long date format string.

Returns:
The long date format string.

setLongDateFormat

void setLongDateFormat(java.lang.String p_strDateFormat)
Set the long date format string.

Parameters:
p_strDateFormat - The long date format string.

getTimeFormat

java.lang.String getTimeFormat()
Get the time format string.

Returns:
The time format string.

setTimeFormat

void setTimeFormat(java.lang.String p_strTimeFormat)
Set the time format string.

Parameters:
p_strTimeFormat - The time format string.

getNumberDecimalSeparator

java.lang.String getNumberDecimalSeparator()
Get the number decimal separator.

Returns:
The number decimal separator.

setNumberDecimalSeparator

void setNumberDecimalSeparator(java.lang.String p_strSeparator)
Set the number decimal separator.

Parameters:
p_strSeparator - The number decimal separator.

getIntegerDigitSeparator

java.lang.String getIntegerDigitSeparator()
Get the integer digit separator.

Returns:
The Integer digit separator.

setIntegerDigitSeparator

void setIntegerDigitSeparator(java.lang.String p_strSeparator)
Set the integer digit separator.

Parameters:
p_strSeparator - The number digit separator.

getNumberDigitSeparator

java.lang.String getNumberDigitSeparator()
Get the number digit separator.

Returns:
The number digit separator.

setNumberDigitSeparator

void setNumberDigitSeparator(java.lang.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.


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

java.lang.String getCurrencyDecimalSeparator()
Get the currency decimal separator.

Returns:
The currency decimal separator.

setCurrencyDecimalSeparator

void setCurrencyDecimalSeparator(java.lang.String p_strSeparator)
Set the currency decimal separator.

Parameters:
p_strSeparator - The currency decimal separator.

getCurrencyDigitSeparator

java.lang.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(java.lang.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.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.