org.directwebremoting.proxy.browser
Class Window

java.lang.Object
  extended by org.directwebremoting.proxy.ScriptProxy
      extended by org.directwebremoting.proxy.browser.Window

public class Window
extends ScriptProxy

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
Window()
          Http thread constructor, that affects no browsers.
Window(java.util.Collection<ScriptSession> scriptSessions)
          Http thread constructor that alters a number of browsers
Window(ScriptSession scriptSession)
          Http thread constructor that alters a single browser
 
Method Summary
 void alert(java.lang.String message)
          Show in an 'alert' dialog
 
Methods inherited from class org.directwebremoting.proxy.ScriptProxy
addFunctionCall, addFunctionCall, addFunctionCall, addFunctionCall, addFunctionCall, addFunctionCall, addFunctionCall, addFunctionCall, addScript, addScriptSession, addScriptSessions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Window

public Window()
Http thread constructor, that affects no browsers. Calls to ScriptProxy.addScriptSession(ScriptSession) or to ScriptProxy.addScriptSessions(Collection) will be needed


Window

public Window(ScriptSession scriptSession)
Http thread constructor that alters a single browser

Parameters:
scriptSession - The browser to alter

Window

public Window(java.util.Collection<ScriptSession> scriptSessions)
Http thread constructor that alters a number of browsers

Parameters:
scriptSessions - A collection of ScriptSessions that we should act on.
Method Detail

alert

public void alert(java.lang.String message)
Show in an 'alert' dialog

Parameters:
message - The text to go into the alert box

Copyright ¬ 2005