Package com.jalios.jtaglib
Class ImageTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jalios.jtaglib.ImageTag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
public class ImageTag
extends javax.servlet.jsp.tagext.TagSupport
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected intprotected Stringprotected Stringprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected StringFields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()intvoidSets the align.voidSets the alt.voidsetBorder(int border) Sets the border.voidvoidSets the height.voidsetHspace(int hspace) Sets the hspace.voidvoidSets the link.voidvoidSets the src.voidSets the target.voidSets the usemap.voidsetVspace(int vspace) Sets the vspace.voidSets the width.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
-
Field Details
-
align
-
alt
-
border
protected int border -
height
-
width
-
hspace
protected int hspace -
vspace
protected int vspace -
src
-
usemap
-
link
-
target
-
name
-
id
-
clazz
-
-
Constructor Details
-
ImageTag
public ImageTag()
-
-
Method Details
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjavax.servlet.jsp.tagext.TagSupport- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag()- Specified by:
doEndTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjavax.servlet.jsp.tagext.TagSupport
-
setAlign
Sets the align.- Parameters:
align- The align to set
-
setAlt
Sets the alt.- Parameters:
alt- The alt to set
-
setBorder
public void setBorder(int border) Sets the border.- Parameters:
border- The border to set
-
setName
-
setId
- Overrides:
setIdin classjavax.servlet.jsp.tagext.TagSupport
-
setClazz
-
setHeight
Sets the height.- Parameters:
height- The height to set
-
setWidth
Sets the width.- Parameters:
width- The width to set
-
setHspace
public void setHspace(int hspace) Sets the hspace.- Parameters:
hspace- The hspace to set
-
setVspace
public void setVspace(int vspace) Sets the vspace.- Parameters:
vspace- The vspace to set
-
setSrc
Sets the src.- Parameters:
src- The src to set
-
setUsemap
Sets the usemap.- Parameters:
usemap- The usemap to set
-
setLink
Sets the link.- Parameters:
link- The link to set
-
setTarget
Sets the target.- Parameters:
target- The target to set
-