|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.chart.device.ScriptMenuHelper
public class ScriptMenuHelper
The helper class is used to generate scripts for Action Value of chart model.
| Constructor Summary | |
|---|---|
ScriptMenuHelper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getScriptValueJS(int index,
ScriptValue sv,
com.ibm.icu.util.ULocale locale)
Returns scripts of 'Invoke Script' action. |
static void |
initInstance(IScriptMenuHelper tFactory)
Initializes instance of this object. |
static IScriptMenuHelper |
instance()
Returns instance of this object. |
static java.lang.String |
wrapScriptsAsFunction(java.lang.String script)
Wraps specified script into a function for the calling by using eval function. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptMenuHelper()
| Method Detail |
|---|
public static void initInstance(IScriptMenuHelper tFactory)
tFactory - public static IScriptMenuHelper instance()
public java.lang.String getScriptValueJS(int index,
ScriptValue sv,
com.ibm.icu.util.ULocale locale)
IScriptMenuHelper
getScriptValueJS in interface IScriptMenuHelperindex - index of action.sv - script action.
public static java.lang.String wrapScriptsAsFunction(java.lang.String script)
script -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||