Top Fields Constructors Methods
com.dlsc.gmapsfx.javascript

public Class JavascriptFunction

extends JavascriptObject
Class Inheritance
Imports
java.util.List

Author
robt

Field Summary

Modifier and TypeField and Description
protected List<String>
protected List<JavascriptFunctionLine>
protected String
functionName

Attempt to create a function as an object var myCallback = function( argX ) { someVariable.someMethod( argX ); someOtherVariable.someOtherMethod(); }

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public
JavascriptFunction(String functionName, List<String> args, List<JavascriptFunctionLine> functionLines)

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Field Detail

argsback to summary
protected List<String> args
functionLinesback to summary
protected List<JavascriptFunctionLine> functionLines
functionNameback to summary
protected String functionName

Attempt to create a function as an object var myCallback = function( argX ) { someVariable.someMethod( argX ); someOtherVariable.someOtherMethod(); }

Constructor Detail

JavascriptFunctionback to summary
public JavascriptFunction(String functionName, List<String> args, List<JavascriptFunctionLine> functionLines)

Method Detail

getFunctionAsStringback to summary
public String getFunctionAsString()