org.apache.struts.taglib.html
public class ImageTag extends SubmitTag
Version: $Rev: 164927 $ $Date: 2005-04-27 01:41:05 +0100 (Wed, 27 Apr 2005) $
Field Summary | |
---|---|
protected String | align
The alignment for this image. |
protected String | border
The border size around the image. |
protected String | page
The module-relative URI of the image. |
protected String | pageKey
The message resources key of the module-relative URI of the image. |
protected String | src
The URL of this image. |
protected String | srcKey
The message resources key for the URL of this image. |
Constructor Summary | |
---|---|
ImageTag() |
Method Summary | |
---|---|
String | getAlign() |
String | getBorder() |
protected String | getElementOpen()
Render the opening element.
|
String | getPage() |
String | getPageKey() |
String | getSrc() |
String | getSrcKey() |
protected void | prepareButtonAttributes(StringBuffer results)
Render the button attributes |
void | release()
Release any acquired resources. |
void | setAlign(String align) |
void | setBorder(String border) |
void | setPage(String page) |
void | setPageKey(String pageKey) |
void | setSrc(String src) |
void | setSrcKey(String srcKey) |
protected String | src()
Return the base source URL that will be rendered in the src
property for this generated element, or null if there is
no such URL.
|
Deprecated: Align attribute is deprecated in HTML 4.x.
Returns: The opening part of the element.
Parameters: results The StringBuffer that output will be appended to.
Deprecated: Align attribute is deprecated in HTML 4.x.
src
property for this generated element, or null
if there is
no such URL.
Throws: JspException if an error occurs