javax.swing.text.html
Class ImageViewjava.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:
- IconView
Field Summary
Fields inherited from class javax.swing.text.View BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
Fields inherited from interface javax.swing.SwingConstants BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST,