nextapp.echoservlet.html
Interface Renderable
- All Known Implementing Classes: 
 - DynaButton, DynaLabel, DynaLink, DynaSaveButton, Element, ElementContent, FastComponentUpdateScriptElement, JspComponentPeer, JspTemplateLayoutManagerUI, NoNameElement, RebindingElement, ReRunButton, Script, ScriptElement, StopButton, StringViewer, Style, StyleElement, TimeViewer, TriCellTable, ViewStackTraceButton
 
public interface Renderable
An interface for an entity which may be rendered as part of an HTML 
 document.  This is a common interface implemented by HTML elements, CSS 
 styles and blocks of JavaScript code.
| 
Field Summary | 
static java.lang.String | 
INDENT_STRING
 
          A string which will be used to indent the document. | 
 
| 
Method Summary | 
 void | 
render(java.io.PrintWriter pw,
       int depth,
       boolean parentWhitespaceRelevant)
 
          Renders the renderable object to the given PrintWriter. | 
 
INDENT_STRING
static final java.lang.String INDENT_STRING
- A string which will be used to indent the document.  This string should
 contain spaces or tabs.
- See Also:
 - Constant Field Values
 
 
render
void render(java.io.PrintWriter pw,
            int depth,
            boolean parentWhitespaceRelevant)
- Renders the renderable object to the given PrintWriter.
- Parameters:
 pw - The PrintWriter to render to.depth - The indentation depth that should be applied to the element
        being rendered.parentWhitespaceRelevant - A flag that indicates whether the 
        containing element is sensitive to white space.