creamtec.webcream.rendering.html
Class StandardPagesRenderer

java.lang.Object
  extended by creamtec.webcream.rendering.html.StandardPagesRenderer

public class StandardPagesRenderer
extends java.lang.Object

Renders standard pages such as exit page and error page. Uses the theme specified for the application.


Method Summary
static java.lang.String renderErrorPage(ClientAgent agent, java.lang.Throwable x)
          Renders the error page displaying the exception.
static java.lang.String renderExitPage(ClientAgent agent)
          Renders exit page, displayed when the user closes the application of the application calls System.exit()
static void renderFileOpenDialog(HTMLPage page, java.awt.Window window)
          Renders an HTML window that corresponds to JFileChooser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

renderExitPage

public static java.lang.String renderExitPage(ClientAgent agent)
Renders exit page, displayed when the user closes the application of the application calls System.exit()

Parameters:
agent - ClientAgent
Returns:
HTML page

renderErrorPage

public static java.lang.String renderErrorPage(ClientAgent agent,
                                               java.lang.Throwable x)
Renders the error page displaying the exception.

Parameters:
agent - ClientAgent
x - Throwable
Returns:
HTML page

renderFileOpenDialog

public static void renderFileOpenDialog(HTMLPage page,
                                        java.awt.Window window)
Renders an HTML window that corresponds to JFileChooser



Copyright © 2000-2006 CreamTec LLC. All Rights Reserved.