Rich UI HTML

A Rich UI HTML widget presents an HTML fragment, which may be provided by a service.

The following properties are supported:
  • text, which holds the HTML fragment and is of type STRING
  • width, which is the width of the bounded area, in pixels
  • height, which is the height of the bounded area, in pixels

Other supported properties and functions are described in “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
   };
Use of this widget requires the following statement:
import com.ibm.egl.rui.widgets.HTML;