# SPL Module Reference: wsf_display

load "wsf_display";

    A module which implements a simple WSF Component for displaying stuff.

object WsfDisplay WsfComponent
{
var tag = "div";
var attributes;
var html_text;

method get_html();
method set_html(t);
method init(t);
}

object WsfDisplay WsfComponent

    A WSF Component for displaying stuff.

    It always returns HTML following the schema:

    	<$tag $attributes id="$id">$html_text</$tag>

    Derived from WsfComponent.

var WsfDisplay.tag = "div";

    The tag name used for the output of this component.

var WsfDisplay.attributes;

    Additional attributes to be added in the HTML output.

var WsfDisplay.html_text;

    The inner HTML of this component.

method WsfDisplay.get_html();

    Overloaded WsfComponent.get_html()

method WsfDisplay.set_html(t);

    Set html_text and mark this component as dirty to refresh
    the output.

method WsfDisplay.init(t);

    Constructor.
    The html_text variable will be set to the value passed as
    parameter.

Generated by SPLDOC. | http://www.clifford.at/spl/