org.eclipse.birt.chart.script
Interface IChartScriptContext

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ChartScriptContext

public interface IChartScriptContext
extends java.io.Serializable

This interface allows the script to get access to common chart varialbes and communicate with an external context. It is available in version 2, both in Java and JavaScript. It deprecates the JavaScript global functions.


Method Summary
 Chart getChartInstance()
           
 IExternalContext getExternalContext()
           
 java.util.Locale getLocale()
          Deprecated. Use getULocale() instead.
 ILogger getLogger()
           
 com.ibm.icu.util.ULocale getULocale()
           
 

Method Detail

getChartInstance

Chart getChartInstance()
Returns:
Returns a runtime instance of the chart,or null if not available yet.

getLocale

java.util.Locale getLocale()
Deprecated. Use getULocale() instead.

Returns:
Returns the locale of current context.

getULocale

com.ibm.icu.util.ULocale getULocale()
Returns:
Returns the locale of current context.
Since:
2.1

getExternalContext

IExternalContext getExternalContext()
Returns:
Returns the external context.

getLogger

ILogger getLogger()
Returns:
Returns an ILogger instance, to allow logging from script.
See Also:
ILogger


Copyright © 2005-2008 Actuate Corp. All rights reserved.