| java.lang.Object org.mortbay.html.Element org.mortbay.html.Tag org.mortbay.html.Image
Image | public class Image extends Tag (Code) | | HTML Image Tag.
See Also: org.mortbay.html.Block version: $Id: Image.java,v 1.8 2005/08/13 00:01:23 gregwilkins Exp $ author: Greg Wilkins |
Method Summary | |
public Image | alt(String alt) | public Image | border(int b) | public Image | setSizeFromGif(String dirname, String pathname) Set the image size from the header of a GIF file.
Parameters: dirname - The directory name, expected to be in OS format Parameters: pathname - The image path name relative to the directory.Expected to be in WWW format (i.e. | public Image | setSizeFromGif(String filename) Set the image size from the header of a GIF file. | public Image | setSizeFromGif(File gif) Set the image size from the header of a GIF file. |
Image | public Image(File gif)(Code) | | Construct from GIF file.
|
Image | public Image(String src, int width, int height, int border)(Code) | | |
setSizeFromGif | public Image setSizeFromGif(String dirname, String pathname)(Code) | | Set the image size from the header of a GIF file.
Parameters: dirname - The directory name, expected to be in OS format Parameters: pathname - The image path name relative to the directory.Expected to be in WWW format (i.e. with slashes)and will be converted to OS format. |
setSizeFromGif | public Image setSizeFromGif(String filename)(Code) | | Set the image size from the header of a GIF file.
|
setSizeFromGif | public Image setSizeFromGif(File gif)(Code) | | Set the image size from the header of a GIF file.
|
|
|