com.ephox.editlive.applet
Class JSFunctionCall

java.lang.Object
  extended by 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

Constructor Summary
JSFunctionCall(String functionName, Object[] functionParameters)
          Creates a JavaScript function call.
 
Method Summary
 boolean equals(Object obj)
           
 String getFunctionName()
           
 Object[] getFunctionParameters()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.