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()
           
 ILogger getLogger()
           
 

Method Detail

getChartInstance

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

getLocale

public java.util.Locale getLocale()
Returns:
Returns the locale used by the engine.

getExternalContext

public IExternalContext getExternalContext()
Returns:
Returns the external context.

getLogger

public ILogger getLogger()
Returns:
Returns a logger instance, to allow logging from script.


Copyright © 2005 Actuate Corp. All rights reserved.