Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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"/>
  • No labels