|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.proxy.ScriptProxy
public class ScriptProxy
Class to help people send scripts to collections of browsers. ScriptProxy also is the base class for the Java implementations of Util and Scriptaculous.Effect.
| Constructor Summary | |
|---|---|
ScriptProxy()
Http thread constructor |
|
ScriptProxy(java.util.Collection scriptSessions)
Non-http thread constructor |
|
ScriptProxy(ScriptSession scriptSession)
Http thread constructor |
|
| Method Summary | |
|---|---|
void |
addFunctionCall(java.lang.String funcName)
Call a named function with no parameters. |
void |
addFunctionCall(java.lang.String funcName,
java.lang.Object param1)
Call a named function with one parameter. |
void |
addFunctionCall(java.lang.String funcName,
java.lang.Object param1,
java.lang.Object param2)
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)
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)
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)
Call a named function with one parameter. |
void |
addScript(ScriptBuffer script)
Utility to add the given script to all known browsers. |
void |
addScriptSession(ScriptSession scriptSession)
|
void |
addScriptSessions(java.util.Collection addScriptSessions)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptProxy()
public ScriptProxy(ScriptSession scriptSession)
scriptSession - The browser to alterpublic ScriptProxy(java.util.Collection scriptSessions)
scriptSessions - The browsers to alter| Method Detail |
|---|
public void addScriptSession(ScriptSession scriptSession)
scriptSession - public void addScriptSessions(java.util.Collection addScriptSessions)
addScriptSessions - public void addFunctionCall(java.lang.String funcName)
funcName - The name of the function to call
public void addFunctionCall(java.lang.String funcName,
java.lang.Object param1)
funcName - The name of the function to callparam1 - The first parameter to the above function
public void addFunctionCall(java.lang.String funcName,
java.lang.Object param1,
java.lang.Object param2)
funcName - The name of the function to callparam1 - The first parameter to the above functionparam2 - The second parameter to the above function
public void addFunctionCall(java.lang.String funcName,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
funcName - The name of the function to callparam1 - The first parameter to the above functionparam2 - The second parameter to the above functionparam3 - The third parameter to the above function
public void addFunctionCall(java.lang.String funcName,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
funcName - The name of the function to callparam1 - The first parameter to the above functionparam2 - The second parameter to the above functionparam3 - The third parameter to the above functionparam4 - The fouth parameter to the above function
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)
funcName - The name of the function to callparam1 - The first parameter to the above functionparam2 - The second parameter to the above functionparam3 - The third parameter to the above functionparam4 - The fourth parameter to the above functionparam5 - The fifth parameter to the above functionpublic void addScript(ScriptBuffer script)
script - The Javascript to send to the browsers
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||