/
Image
Image
Introduction
One of the basic types, well supported on all UI toolkits.
Properties
Property |
Fires Events |
Possible Values |
Notes |
---|---|---|---|
src (String) |
No |
|
URL to the image relative to the XUL file |
width (int) |
No |
|
|
height (int) |
No |
|
|
Methods
refresh() - force a reload of the image.
setSrc(Object o) - Src is overloaded to accept an AbstractImage. The AWT object is compatible with Swing and SWT.
Sample Usage
<image src="../masthead.png" height="120" width="400"/>