Rich UI image

A Rich UI image widget presents a graphic.
The image widget supports these properties:

For more information about other supported properties and functions, see "Widget properties and functions."

The following example renders either a graphic or the word "Gears":
Handler GridDemo type RUIHandler {children = [myImage]}

   myImage Image
   {
      src = 
      "http://www.ibm.com/developerworks/i/spaces/feature/d-aw-s-alphaworks.jpg",
      text = "Gears"
   };

end
If you use this widget, you must use the following statement:
import com.ibm.egl.rui.widgets.Image;

Feedback