org.eclipse.birt.chart.device
Class ScriptMenuHelper

java.lang.Object
  extended by org.eclipse.birt.chart.device.ScriptMenuHelper
All Implemented Interfaces:
IScriptMenuHelper

public class ScriptMenuHelper
extends java.lang.Object
implements IScriptMenuHelper

The helper class is used to generate scripts for Action Value of chart model.

Since:
2.5.2

Constructor Summary
ScriptMenuHelper()
           
 
Method Summary
 java.lang.String getScriptValueJS(int index, ScriptValue sv)
          Returns scripts of 'Invoke Script' action.
static void initInstance(IScriptMenuHelper tFactory)
          Initializes instance of this object.
static IScriptMenuHelper instance()
          Returns instance of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptMenuHelper

public ScriptMenuHelper()
Method Detail

initInstance

public static void initInstance(IScriptMenuHelper tFactory)
Initializes instance of this object.

Parameters:
tFactory -

instance

public static IScriptMenuHelper instance()
Returns instance of this object.

Returns:

getScriptValueJS

public java.lang.String getScriptValueJS(int index,
                                         ScriptValue sv)
Description copied from interface: IScriptMenuHelper
Returns scripts of 'Invoke Script' action.

Specified by:
getScriptValueJS in interface IScriptMenuHelper
Parameters:
index - index of action.
sv - script action.
Returns:


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