public abstract class AbstractDocumentRenderer extends java.lang.Object implements DocumentRenderer
Modifier and Type | Field and Description |
---|---|
static boolean |
LIMIT_MODE |
Constructor and Description |
---|
AbstractDocumentRenderer() |
Modifier and Type | Method and Description |
---|---|
abstract Document |
createDocument()
Abstract Factory Method design pattern to create documents.
|
ComponentRenderer |
getComponentRenderer(java.lang.Object component)
Locates the proper renderer for the given component and returns it
|
ComponentRenderer |
getComponentRenderer(java.lang.String className) |
void |
initializeDocument(Document document) |
void |
redirectoToStandardPage(ClientAgent agent,
int status,
java.lang.Throwable x)
Renders a standard page based on the template and the status
|
abstract Document |
renderDocument(ClientAgent agent,
java.util.List<java.awt.Window> windows)
Top level method used to get a document representing a rendering of the window of the agent
|
public abstract Document createDocument() throws java.lang.Exception
java.lang.Exception
public abstract Document renderDocument(ClientAgent agent, java.util.List<java.awt.Window> windows) throws java.lang.Exception
DocumentRenderer
renderDocument
in interface DocumentRenderer
agent
- an agent representing a client to AjaxSwing applicationjava.lang.Exception
public void initializeDocument(Document document)
public ComponentRenderer getComponentRenderer(java.lang.String className)
public ComponentRenderer getComponentRenderer(java.lang.Object component)
component
- descendant or Object descendant such as MenuBarAjaxSwingException
- if there is no renderer for the componentpublic void redirectoToStandardPage(ClientAgent agent, int status, java.lang.Throwable x) throws java.lang.Exception
java.lang.Exception
Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.