org.jmage.tags
Class JmageTagHandler
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.jmage.tags.JmageTagHandler
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- BackgroundImageTagHandler, BlurTagHandler, BorderExtenderTagHandler, BrightenTagHandler, ColorizeTagHandler, CropTagHandler, DarkenTagHandler, EdgeEnhancementTagHandler, EncoderTagHandler, FilterChainTagHandler, GreyScaleTagHandler, ImageOverlayTagHandler, LowPassTagHandler, MeanTagHandler, ResizeTagHandler, RotationTagHandler, SharpenTagHandler, TextOverlayTagHandler
public abstract class JmageTagHandler
- extends javax.servlet.jsp.tagext.TagSupport
JmageTagHandler is the abstract superclass for all TagHandlers
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
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 |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
IMG_TAG
protected static final java.lang.String IMG_TAG
- See Also:
- Constant Field Values
SRC_ATT
protected static final java.lang.String SRC_ATT
- See Also:
- Constant Field Values
JMAGE
protected static final java.lang.String JMAGE
- See Also:
- Constant Field Values
CHAIN
protected static final java.lang.String CHAIN
- See Also:
- Constant Field Values
WRITE_ERROR
protected static final java.lang.String WRITE_ERROR
- See Also:
- Constant Field Values
WRITE_SUCCESS
protected static final java.lang.String WRITE_SUCCESS
- See Also:
- Constant Field Values
request
protected javax.servlet.http.HttpServletRequest request
jspWriter
protected javax.servlet.jsp.JspWriter jspWriter
servletInvocation
protected java.lang.StringBuffer servletInvocation
userAgentUtil
protected UserAgentUtil userAgentUtil
textUtil
protected TextUtil textUtil
id
protected java.lang.String id
image
protected java.lang.String image
encode
protected java.lang.String encode
width
protected java.lang.String width
height
protected java.lang.String height
title
protected java.lang.String title
border
protected java.lang.String border
cssClass
protected java.lang.String cssClass
cssStyle
protected java.lang.String cssStyle
onclick
protected java.lang.String onclick
ondblclick
protected java.lang.String ondblclick
onmousedown
protected java.lang.String onmousedown
onmouseup
protected java.lang.String onmouseup
onmouseover
protected java.lang.String onmouseover
onmousemove
protected java.lang.String onmousemove
onmouseout
protected java.lang.String onmouseout
onkeypress
protected java.lang.String onkeypress
onkeydown
protected java.lang.String onkeydown
onkeyup
protected java.lang.String onkeyup
fixPNGonIE
protected boolean fixPNGonIE
context
protected ApplicationContext context
ENCODE
protected static final java.lang.String ENCODE
- See Also:
- Constant Field Values
SPAN
protected static final java.lang.String SPAN
- See Also:
- Constant Field Values
END_SPAN
protected static final java.lang.String END_SPAN
- See Also:
- Constant Field Values
DIV
protected static final java.lang.String DIV
- See Also:
- Constant Field Values
END_DIV
protected static final java.lang.String END_DIV
- See Also:
- Constant Field Values
JmageTagHandler
public JmageTagHandler()
getId
public java.lang.String getId()
- Overrides:
getId
in class javax.servlet.jsp.tagext.TagSupport
setId
public void setId(java.lang.String id)
- Overrides:
setId
in class javax.servlet.jsp.tagext.TagSupport
getImage
public java.lang.String getImage()
setImage
public void setImage(java.lang.String image)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
getBorder
public java.lang.String getBorder()
setBorder
public void setBorder(java.lang.String border)
getCssClass
public java.lang.String getCssClass()
setCssClass
public void setCssClass(java.lang.String cssClass)
getCssStyle
public java.lang.String getCssStyle()
setCssStyle
public void setCssStyle(java.lang.String cssStyle)
getEncode
public java.lang.String getEncode()
setEncode
public void setEncode(java.lang.String encode)
getWidth
public java.lang.String getWidth()
setWidth
public void setWidth(java.lang.String width)
getHeight
public java.lang.String getHeight()
setHeight
public void setHeight(java.lang.String height)
getOnclick
public java.lang.String getOnclick()
setOnclick
public void setOnclick(java.lang.String onclick)
getOndblclick
public java.lang.String getOndblclick()
setOndblclick
public void setOndblclick(java.lang.String ondblclick)
getOnmousedown
public java.lang.String getOnmousedown()
setOnmousedown
public void setOnmousedown(java.lang.String onmousedown)
getOnmouseup
public java.lang.String getOnmouseup()
setOnmouseup
public void setOnmouseup(java.lang.String onmouseup)
getOnmouseover
public java.lang.String getOnmouseover()
setOnmouseover
public void setOnmouseover(java.lang.String onmouseover)
getOnmousemove
public java.lang.String getOnmousemove()
setOnmousemove
public void setOnmousemove(java.lang.String onmousemove)
getOnmouseout
public java.lang.String getOnmouseout()
setOnmouseout
public void setOnmouseout(java.lang.String onmouseout)
getOnkeypress
public java.lang.String getOnkeypress()
setOnkeypress
public void setOnkeypress(java.lang.String onkeypress)
getOnkeydown
public java.lang.String getOnkeydown()
setOnkeydown
public void setOnkeydown(java.lang.String onkeydown)
getOnkeyup
public java.lang.String getOnkeyup()
setOnkeyup
public void setOnkeyup(java.lang.String onkeyup)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
appendInvisibleTooltip
protected void appendInvisibleTooltip(java.lang.StringBuffer servletInvocation)
appendTooltipEventHandlers
protected void appendTooltipEventHandlers()
appendEventHandlerAttributes
protected void appendEventHandlerAttributes(java.lang.StringBuffer servletInvocation)
appendIDAttr
protected void appendIDAttr(java.lang.StringBuffer servletInvocation)
appendImgTag
protected void appendImgTag(java.lang.StringBuffer servletInvocation)
appendSpanStyle
protected void appendSpanStyle(java.lang.StringBuffer servletInvocation)
appendJMAGEConversion
protected void appendJMAGEConversion(java.lang.StringBuffer servletInvocation)
useAlphaImageLoader
protected boolean useAlphaImageLoader()
- Defines the conditions under which Microsofts alpha image loader is used instead of the html img tag
- Returns:
- true | false
detectIEPNG
protected boolean detectIEPNG(javax.servlet.http.HttpServletRequest request)
- Detect whether the current servlet request comes from IE on windows and requests a PNG encoded resource.
- Parameters:
request
-
- Returns:
- true | false
Copyright © 2004-2008 Sourceforge. All Rights Reserved.