| java.lang.Object org.directwebremoting.proxy.ScriptProxy
All known Subclasses: org.directwebremoting.proxy.scriptaculous.Effect, org.directwebremoting.proxy.dwr.Util, org.directwebremoting.proxy.openajax.OpenAjax, org.directwebremoting.proxy.browser.Window, org.directwebremoting.proxy.dwr.Engine, org.directwebremoting.extend.EnginePrivate,
ScriptProxy | public class ScriptProxy (Code) | | Class to help people send scripts to collections of browsers.
ScriptProxy also is the base class for the Java implementations of GI, Util
and Script.aculo.us.Effect.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Method Summary | |
public void | addFunctionCall(String funcName) Call a named function with no parameters. | public void | addFunctionCall(String funcName, Object param1) Call a named function with one parameter. | public void | addFunctionCall(String funcName, Object param1, Object param2) Call a named function with one parameter. | public void | addFunctionCall(String funcName, Object param1, Object param2, Object param3) Call a named function with one parameter. | public void | addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4) Call a named function with one parameter. | public void | addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4, Object param5) Call a named function with one parameter. | public void | addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4, Object param5, Object param6) Call a named function with one parameter. | public void | addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4, Object param5, Object param6, Object param7) Call a named function with one parameter. | public void | addScript(ScriptBuffer script) Utility to add the given script to all known browsers. | public void | addScriptSession(ScriptSession scriptSession) | public void | addScriptSessions(Collection<ScriptSession> addScriptSessions) |
ScriptProxy | public ScriptProxy()(Code) | | Http thread constructor
|
ScriptProxy | public ScriptProxy(ScriptSession scriptSession)(Code) | | Http thread constructor
Parameters: scriptSession - The browser to alter |
ScriptProxy | public ScriptProxy(Collection<ScriptSession> scriptSessions)(Code) | | Non-http thread constructor
Parameters: scriptSessions - The browsers to alter |
addFunctionCall | public void addFunctionCall(String funcName)(Code) | | Call a named function with no parameters.
Parameters: funcName - The name of the function to call |
addFunctionCall | public void addFunctionCall(String funcName, Object param1)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function |
addFunctionCall | public void addFunctionCall(String funcName, Object param1, Object param2)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function Parameters: param2 - The second parameter to the above function |
addFunctionCall | public void addFunctionCall(String funcName, Object param1, Object param2, Object param3)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function Parameters: param2 - The second parameter to the above function Parameters: param3 - The third parameter to the above function |
addFunctionCall | public void addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function Parameters: param2 - The second parameter to the above function Parameters: param3 - The third parameter to the above function Parameters: param4 - The fourth parameter to the above function |
addFunctionCall | public void addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4, Object param5)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function Parameters: param2 - The second parameter to the above function Parameters: param3 - The third parameter to the above function Parameters: param4 - The fourth parameter to the above function Parameters: param5 - The fifth parameter to the above function |
addFunctionCall | public void addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4, Object param5, Object param6)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function Parameters: param2 - The second parameter to the above function Parameters: param3 - The third parameter to the above function Parameters: param4 - The fourth parameter to the above function Parameters: param5 - The fifth parameter to the above function Parameters: param6 - The sixth parameter to the above function |
addFunctionCall | public void addFunctionCall(String funcName, Object param1, Object param2, Object param3, Object param4, Object param5, Object param6, Object param7)(Code) | | Call a named function with one parameter.
Parameters: funcName - The name of the function to call Parameters: param1 - The first parameter to the above function Parameters: param2 - The second parameter to the above function Parameters: param3 - The third parameter to the above function Parameters: param4 - The fourth parameter to the above function Parameters: param5 - The fifth parameter to the above function Parameters: param6 - The sixth parameter to the above function Parameters: param7 - The seventh parameter to the above function |
addScript | public void addScript(ScriptBuffer script)(Code) | | Utility to add the given script to all known browsers.
Parameters: script - The Javascript to send to the browsers |
addScriptSession | public void addScriptSession(ScriptSession scriptSession)(Code) | | Parameters: scriptSession - The script session to add to the list |
addScriptSessions | public void addScriptSessions(Collection<ScriptSession> addScriptSessions)(Code) | | Parameters: addScriptSessions - The script sessions to add to the list |
|
|