com.ephox.editlive.applet
Class JSFunctionCall
java.lang.Object
com.ephox.editlive.applet.JSFunctionCall
public class JSFunctionCall
- extends Object
Stores function name and parameter details for calling JavaScript functions.
Currently only used by the TextEvent.CALL_JAVASCRIPT
event.
- Since:
- 7.5
JSFunctionCall
public JSFunctionCall(String functionName,
Object[] functionParameters)
- Creates a JavaScript function call.
PLEASE NOTE: Starting with EditLive! 7.6, any nulls in the functionParameters will cause an exception to be thrown due to
browser bugs that previously resulted in silent failures.
getFunctionName
public String getFunctionName()
getFunctionParameters
public Object[] getFunctionParameters()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object