public class ImageTag extends SubmitTag
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
align
The alignment for this image.
|
protected java.lang.String |
border
The border size around the image.
|
protected java.lang.String |
module
The module prefix (beginning with a slash) which will be used to find
the action for this link.
|
protected java.lang.String |
page
The module-relative URI of the image.
|
protected java.lang.String |
pageKey
The message resources key of the module-relative URI of the image.
|
protected java.lang.String |
src
The URL of this image.
|
protected java.lang.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 |
---|---|
java.lang.String |
getAlign()
Deprecated.
Align attribute is deprecated in HTML 4.x.
|
java.lang.String |
getBorder() |
protected java.lang.String |
getElementOpen()
Render the opening element.
|
java.lang.String |
getModule() |
java.lang.String |
getPage() |
java.lang.String |
getPageKey() |
java.lang.String |
getSrc() |
java.lang.String |
getSrcKey() |
protected void |
prepareButtonAttributes(java.lang.StringBuffer results)
Render the button attributes
|
void |
release()
Release any acquired resources.
|
void |
setAlign(java.lang.String align)
Deprecated.
Align attribute is deprecated in HTML 4.x.
|
void |
setBorder(java.lang.String border) |
void |
setModule(java.lang.String module) |
void |
setPage(java.lang.String page) |
void |
setPageKey(java.lang.String pageKey) |
void |
setSrc(java.lang.String src) |
void |
setSrcKey(java.lang.String srcKey) |
protected java.lang.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 java.lang.String align
protected java.lang.String border
protected java.lang.String page
protected java.lang.String pageKey
protected java.lang.String src
protected java.lang.String srcKey
protected java.lang.String module
public java.lang.String getAlign()
public void setAlign(java.lang.String align)
public java.lang.String getBorder()
public void setBorder(java.lang.String border)
public java.lang.String getPage()
public void setPage(java.lang.String page)
public java.lang.String getPageKey()
public void setPageKey(java.lang.String pageKey)
public java.lang.String getSrc()
public void setSrc(java.lang.String src)
public java.lang.String getSrcKey()
public void setSrcKey(java.lang.String srcKey)
public java.lang.String getModule()
public void setModule(java.lang.String module)
protected java.lang.String getElementOpen()
getElementOpen
in class SubmitTag
protected void prepareButtonAttributes(java.lang.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 java.lang.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–2021 Apache Software Foundation. All rights reserved.