WUI : API


org.westofj.wui
Class WInlineHtml

java.lang.Object
  extended byorg.westofj.wui.Widget
      extended byorg.westofj.wui.WInlineHtml

public class WInlineHtml
extends Widget

Renders the specified HTML to the display.

Version:
$Revision: 1.4 $, $Date: 2004/03/22 00:34:01 $
Author:
bill

Constructor Summary
WInlineHtml()
          Constructs an empty inline HTML instance.
WInlineHtml(String html)
          Constructs an inline HTML instance that renders the specified HTML to the display.
 
Method Summary
 String getHtml()
          Returns the HTML that is rendered to the display.
 void render(WRunner runner, WRenderContext context, PrintWriter out)
          Renders the widget to the display.
 void setHtml(String html)
          Sets the HTML rendered to the display.
 
Methods inherited from class org.westofj.wui.Widget
addChangeListener, getRunner, handleNoParams, handleParams, hasChangeListeners, removeChangeListener, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WInlineHtml

public WInlineHtml()
Constructs an empty inline HTML instance.


WInlineHtml

public WInlineHtml(String html)
Constructs an inline HTML instance that renders the specified HTML to the display.

Parameters:
html - the html to render to the display.
Method Detail

getHtml

public String getHtml()
Returns the HTML that is rendered to the display.

Returns:
String the HTML rendered to the display.

render

public void render(WRunner runner,
                   WRenderContext context,
                   PrintWriter out)
            throws WRenderException
Description copied from class: Widget
Renders the widget to the display.

Specified by:
render in class Widget
Parameters:
runner - the current runner context.
out - the output for the display.
Throws:
WRenderException

setHtml

public void setHtml(String html)
Sets the HTML rendered to the display.

Parameters:
html - the HTML to be rendered to the display.

Copyright (c) 2003 West of J - All rights reserved.