org.directwebremoting.proxy
Class ScriptProxy

java.lang.Object
  extended by org.directwebremoting.proxy.ScriptProxy
Direct Known Subclasses:
Effect, Engine, Util

Deprecated. Use org.directwebremoting.ui.ScriptProxy

@Deprecated
public class ScriptProxy
extends java.lang.Object

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]
See Also:
ScriptProxy

Constructor Summary
ScriptProxy()
          Deprecated. Http thread constructor
ScriptProxy(java.util.Collection<ScriptSession> scriptSessions)
          Deprecated. Non-http thread constructor
ScriptProxy(ScriptSession scriptSession)
          Deprecated. Http thread constructor
 
Method Summary
 void addFunctionCall(java.lang.String funcName)
          Deprecated. Call a named function with no parameters.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1)
          Deprecated. Call a named function with one parameter.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1, java.lang.Object param2)
          Deprecated. Call a named function with one parameter.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
          Deprecated. Call a named function with one parameter.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
          Deprecated. Call a named function with one parameter.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
          Deprecated. Call a named function with one parameter.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5, java.lang.Object param6)
          Deprecated. Call a named function with one parameter.
 void addFunctionCall(java.lang.String funcName, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5, java.lang.Object param6, java.lang.Object param7)
          Deprecated. Call a named function with one parameter.
 void addScript(ScriptBuffer script)
          Deprecated. Utility to add the given script to all known browsers.
 void addScriptSession(ScriptSession scriptSession)
          Deprecated.  
 void addScriptSessions(java.util.Collection<ScriptSession> addScriptSessions)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptProxy

public ScriptProxy()
Deprecated. 
Http thread constructor


ScriptProxy

public ScriptProxy(ScriptSession scriptSession)
Deprecated. 
Http thread constructor

Parameters:
scriptSession - The browser to alter

ScriptProxy

public ScriptProxy(java.util.Collection<ScriptSession> scriptSessions)
Deprecated. 
Non-http thread constructor

Parameters:
scriptSessions - The browsers to alter
Method Detail

addScriptSession

public void addScriptSession(ScriptSession scriptSession)
Deprecated. 
Parameters:
scriptSession - The script session to add to the list

addScriptSessions

public void addScriptSessions(java.util.Collection<ScriptSession> addScriptSessions)
Deprecated. 
Parameters:
addScriptSessions - The script sessions to add to the list

addFunctionCall

public void addFunctionCall(java.lang.String funcName)
Deprecated. 
Call a named function with no parameters.

Parameters:
funcName - The name of the function to call

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1,
                            java.lang.Object param2)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function
param2 - The second parameter to the above function

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1,
                            java.lang.Object param2,
                            java.lang.Object param3)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function
param2 - The second parameter to the above function
param3 - The third parameter to the above function

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1,
                            java.lang.Object param2,
                            java.lang.Object param3,
                            java.lang.Object param4)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function
param2 - The second parameter to the above function
param3 - The third parameter to the above function
param4 - The fourth parameter to the above function

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1,
                            java.lang.Object param2,
                            java.lang.Object param3,
                            java.lang.Object param4,
                            java.lang.Object param5)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function
param2 - The second parameter to the above function
param3 - The third parameter to the above function
param4 - The fourth parameter to the above function
param5 - The fifth parameter to the above function

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1,
                            java.lang.Object param2,
                            java.lang.Object param3,
                            java.lang.Object param4,
                            java.lang.Object param5,
                            java.lang.Object param6)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function
param2 - The second parameter to the above function
param3 - The third parameter to the above function
param4 - The fourth parameter to the above function
param5 - The fifth parameter to the above function
param6 - The sixth parameter to the above function

addFunctionCall

public void addFunctionCall(java.lang.String funcName,
                            java.lang.Object param1,
                            java.lang.Object param2,
                            java.lang.Object param3,
                            java.lang.Object param4,
                            java.lang.Object param5,
                            java.lang.Object param6,
                            java.lang.Object param7)
Deprecated. 
Call a named function with one parameter.

Parameters:
funcName - The name of the function to call
param1 - The first parameter to the above function
param2 - The second parameter to the above function
param3 - The third parameter to the above function
param4 - The fourth parameter to the above function
param5 - The fifth parameter to the above function
param6 - The sixth parameter to the above function
param7 - The seventh parameter to the above function

addScript

public void addScript(ScriptBuffer script)
Deprecated. 
Utility to add the given script to all known browsers.

Parameters:
script - The Javascript to send to the browsers

Copyright 2008