public class ImageTag extends SubmitTag
Modifier and Type | Field and Description |
---|---|
protected String |
align
The alignment for this image.
|
protected String |
border
The border size around the image.
|
protected String |
module
The module prefix (beginning with a slash) which will be used to find
the action for this link.
|
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.
|
accesskey, doDisabled, doReadonly, indexed, tabindex
Constructor and Description |
---|
ImageTag() |
Modifier and Type | Method and Description |
---|---|
String |
getAlign()
Deprecated.
Align attribute is deprecated in HTML 4.x.
|
String |
getBorder() |
protected String |
getElementOpen()
Render the opening element.
|
String |
getModule() |
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)
Deprecated.
Align attribute is deprecated in HTML 4.x.
|
void |
setBorder(String border) |
void |
setModule(String module) |
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. |
doAfterBody, doEndTag, doStartTag, getDefaultValue, getProperty, getValue, prepareName, prepareValue, setProperty, setValue
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDir, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLang, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareInternationalization, prepareKeyEvents, prepareMouseEvents, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDir, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLang, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected String align
protected String border
protected String page
protected String pageKey
protected String src
protected String srcKey
protected String module
public String getAlign()
public void setAlign(String align)
public String getBorder()
public void setBorder(String border)
public String getPage()
public void setPage(String page)
public String getPageKey()
public void setPageKey(String pageKey)
public String getSrc()
public void setSrc(String src)
public String getSrcKey()
public void setSrcKey(String srcKey)
public String getModule()
public void setModule(String module)
protected String getElementOpen()
getElementOpen
in class SubmitTag
protected void prepareButtonAttributes(StringBuffer results) throws javax.servlet.jsp.JspException
prepareButtonAttributes
in class SubmitTag
results
- The StringBuffer that output will be appended to.javax.servlet.jsp.JspException
public void release()
protected String src() throws javax.servlet.jsp.JspException
src
property for this generated element, or
null
if there is no such URL.javax.servlet.jsp.JspException
- if an error occursCopyright © 2000–2016 Apache Software Foundation. All rights reserved.