Module java.desktop

Class ImageView

java.lang.Object
javax.swing.text.View
javax.swing.text.html.ImageView
All Implemented Interfaces:
SwingConstants

public class ImageView extends View
View of an Image, intended to support the HTML <IMG> tag. Supports scaling via the HEIGHT and WIDTH attributes of the tag. If the image is unable to be loaded any text specified via the ALT attribute will be rendered.

While this class has been part of swing for a while now, it is public as of 1.4.

Since:
1.4
See Also: