A Rich UI HTML widget presents an HTML fragment, which
can be provided by a service.
The HTML widget supports these properties:
- text, which holds the HTML fragment
and is a STRING type
- width, which is the width of the bounded
area, in pixels
- height, which is the height of the bounded
area, in pixels
For more information about other supported properties and functions,
see "Widget properties and functions."
The following example is rendered as
Rich UI:
Handler GridDemo type RUIHandler {children = [myHTML]}
myHTML HTML
{
text = "Rich UI",
height = 30, width=160
};
If you use this widget, you must use the following statement:
import com.ibm.egl.rui.widgets.HTML;