|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
alt
The alternate text for this image. |
protected java.lang.String |
altKey
The message resources key for the alternate text for this image. |
protected java.lang.String |
border
The border size around the image. |
protected java.lang.String |
bundle
The servlet context attribute key for our resources. |
protected static java.util.Locale |
defaultLocale
The default Locale for our server. |
protected java.lang.String |
locale
The session attribute key for our locale. |
protected java.lang.String |
page
The context-relative URI of the image. |
protected java.lang.String |
pageKey
The message resources key of the context-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, disabled, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, readonly, style, styleClass, styleId, tabindex, title |
Constructor Summary | |
ImageTag()
|
Method Summary | |
protected java.lang.String |
alt()
Return the alternate text to be included on this generated element, or null if there is no such text. |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
java.lang.String |
getAlign()
|
java.lang.String |
getAlt()
|
java.lang.String |
getAltKey()
|
java.lang.String |
getBorder()
|
java.lang.String |
getBundle()
|
java.lang.String |
getLocale()
|
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)
|
void |
setAlt(java.lang.String alt)
|
void |
setAltKey(java.lang.String altKey)
|
void |
setBorder(java.lang.String border)
|
void |
setBundle(java.lang.String bundle)
|
void |
setLocale(java.lang.String locale)
|
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 org.apache.struts.taglib.html.BaseHandlerTag |
getAccesskey, getDisabled, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, prepareEventHandlers, prepareFocusEvents, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setDisabled, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle |
Field Detail |
protected java.lang.String align
protected static final java.util.Locale defaultLocale
protected java.lang.String alt
protected java.lang.String altKey
protected java.lang.String border
protected java.lang.String bundle
protected java.lang.String locale
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 getAlt()
public void setAlt(java.lang.String alt)
public java.lang.String getAltKey()
public void setAltKey(java.lang.String altKey)
public java.lang.String getBorder()
public void setBorder(java.lang.String border)
public java.lang.String getBundle()
public void setBundle(java.lang.String bundle)
public java.lang.String getLocale()
public void setLocale(java.lang.String locale)
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
org.apache.struts.taglib.html.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 class SubmitTag
JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in class SubmitTag
JspException
- if a JSP exception has occurredpublic void release()
release
in class SubmitTag
protected java.lang.String alt() throws javax.servlet.jsp.JspException
null
if there is no such text.JspException
- if an error occursprotected java.lang.String src() throws javax.servlet.jsp.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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |