|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--javax.servlet.jsp.tagext.BodyTagSupport | +--org.apache.struts.taglib.html.BaseHandlerTag | +--org.apache.struts.taglib.html.SubmitTag | +--org.apache.struts.taglib.html.ImageTag
Tag for input fields of type "image".
Field Summary | |
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 |
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 |
property
The name attribute for the image button. |
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. |
Fields inherited from class org.apache.struts.taglib.html.SubmitTag |
messages, text, value |
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
accesskey, defaultLocale, indexed, tabindex |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
ImageTag()
|
Method Summary | |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
java.lang.String |
getAlign()
Deprecated. Align attribute is deprecated in HTML 4.x. |
java.lang.String |
getBorder()
|
java.lang.String |
getPage()
|
java.lang.String |
getPageKey()
|
java.lang.String |
getProperty()
Return the property. |
java.lang.String |
getSrc()
|
java.lang.String |
getSrcKey()
|
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 |
setPage(java.lang.String page)
|
void |
setPageKey(java.lang.String pageKey)
|
void |
setProperty(java.lang.String property)
Set the property name. |
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. |
Methods inherited from class org.apache.struts.taglib.html.SubmitTag |
doAfterBody, getValue, setValue |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Field Detail |
protected java.lang.String align
protected java.lang.String border
protected java.lang.String page
protected java.lang.String pageKey
protected java.lang.String property
protected java.lang.String src
protected java.lang.String srcKey
Constructor Detail |
public ImageTag()
Method Detail |
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 getProperty()
SubmitTag
getProperty
in class SubmitTag
public void setProperty(java.lang.String property)
SubmitTag
setProperty
in class SubmitTag
property
- The property namepublic java.lang.String getSrc()
public void setSrc(java.lang.String src)
public java.lang.String getSrcKey()
public void setSrcKey(java.lang.String srcKey)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class SubmitTag
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class SubmitTag
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class SubmitTag
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 occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |