org.apache.struts.taglib.html
Class ImageTag

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
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
NestedImageTag

public class ImageTag
extends SubmitTag

Tag for input fields of type "image".

Version:
$Rev: 164927 $ $Date: 2005-04-27 01:41:05 +0100 (Wed, 27 Apr 2005) $
See Also:
Serialized Form

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 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, property, text, value
 
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag
accesskey, alt, altKey, bundle, defaultLocale, disabled, doDisabled, doReadonly, errorKey, errorStyle, errorStyleClass, errorStyleId, indexed, locale, log, loopTagStatusClass, loopTagStatusGetIndex, loopTagSupportClass, loopTagSupportGetStatus, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, readonly, style, styleClass, styleId, tabindex, title, titleKey, triedJstlInit, triedJstlSuccess
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
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
 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 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 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.
 
Methods inherited from class org.apache.struts.taglib.html.SubmitTag
doAfterBody, doEndTag, doStartTag, getDefaultValue, getProperty, getValue, prepareName, prepareValue, setProperty, setValue
 
Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getJstlLoopIndex, 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, prepareKeyEvents, prepareMouseEvents, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
 
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, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

align

protected java.lang.String align
The alignment for this image.

border

protected java.lang.String border
The border size around the image.

page

protected java.lang.String page
The module-relative URI of the image.

pageKey

protected java.lang.String pageKey
The message resources key of the module-relative URI of the image.

src

protected java.lang.String src
The URL of this image.

srcKey

protected java.lang.String srcKey
The message resources key for the URL of this image.
Constructor Detail

ImageTag

public ImageTag()
Method Detail

getAlign

public java.lang.String getAlign()
Deprecated. Align attribute is deprecated in HTML 4.x.


setAlign

public void setAlign(java.lang.String align)
Deprecated. Align attribute is deprecated in HTML 4.x.


getBorder

public java.lang.String getBorder()

setBorder

public void setBorder(java.lang.String border)

getPage

public java.lang.String getPage()

setPage

public void setPage(java.lang.String page)

getPageKey

public java.lang.String getPageKey()

setPageKey

public void setPageKey(java.lang.String pageKey)

getSrc

public java.lang.String getSrc()

setSrc

public void setSrc(java.lang.String src)

getSrcKey

public java.lang.String getSrcKey()

setSrcKey

public void setSrcKey(java.lang.String srcKey)

getElementOpen

protected java.lang.String getElementOpen()
Render the opening element.
Overrides:
getElementOpen in class SubmitTag
Returns:
The opening part of the element.

prepareButtonAttributes

protected void prepareButtonAttributes(java.lang.StringBuffer results)
                                throws javax.servlet.jsp.JspException
Render the button attributes
Overrides:
prepareButtonAttributes in class SubmitTag
Parameters:
results - The StringBuffer that output will be appended to.

release

public void release()
Release any acquired resources.
Overrides:
release in class SubmitTag

src

protected java.lang.String src()
                        throws javax.servlet.jsp.JspException
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.
Throws:
javax.servlet.jsp.JspException - if an error occurs


Copyright 2000-2006 - The Apache Software Foundation