NextApp Echo2
v2.1.1

nextapp.echo2.webrender.servermessage
Class WindowUpdate

java.lang.Object
  extended by nextapp.echo2.webrender.servermessage.WindowUpdate

public class WindowUpdate
extends java.lang.Object

A utility class to add EchoWindowUpdate message parts to the ServerMessage. EchoWindowUpdate message parts are used to perform miscellaneous updates to a top-level window.


Constructor Summary
WindowUpdate()
           
 
Method Summary
static void renderReload(ServerMessage serverMessage)
          Creates a reload operation to reload the contents of the window.
static void renderSetFocus(ServerMessage serverMessage, java.lang.String elementId)
          Creates a focus operation to set the focused component within the window.
static void renderSetWindowTitle(ServerMessage serverMessage, java.lang.String newValue)
          Creates a set-title operation to set the title of a top-level browser window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowUpdate

public WindowUpdate()
Method Detail

renderReload

public static void renderReload(ServerMessage serverMessage)
Creates a reload operation to reload the contents of the window.

Parameters:
serverMessage - the outgoing ServerMessage

renderSetFocus

public static void renderSetFocus(ServerMessage serverMessage,
                                  java.lang.String elementId)
Creates a focus operation to set the focused component within the window.

Parameters:
serverMessage - the outgoing ServerMessage
elementId - the new focused element id

renderSetWindowTitle

public static void renderSetWindowTitle(ServerMessage serverMessage,
                                        java.lang.String newValue)
Creates a set-title operation to set the title of a top-level browser window.

Parameters:
serverMessage - the outgoing ServerMessage
newValue - the new window title

NextApp Echo2
v2.1.1