|
||||||||||
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
public class ImageTag
Tag for input fields of type "image".
Field Summary | |
---|---|
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. |
Fields inherited from class org.apache.struts.taglib.html.SubmitTag |
---|
messages, property, text, value |
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
---|
accesskey, doDisabled, doReadonly, 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_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
ImageTag()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.struts.taglib.html.SubmitTag |
---|
doAfterBody, doEndTag, doStartTag, getDefaultValue, getProperty, getValue, prepareName, prepareValue, setProperty, 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 String align
protected String border
protected String page
protected String pageKey
protected String src
protected String srcKey
protected String module
Constructor Detail |
---|
public ImageTag()
Method Detail |
---|
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 JspException
prepareButtonAttributes
in class SubmitTag
results
- The StringBuffer that output will be appended to.
JspException
public void release()
release
in interface Tag
release
in class SubmitTag
protected String src() throws JspException
src
property for this generated element, or
null
if there is no such URL.
JspException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |