org.infoglue.deliver.taglib.common
Class TextRenderTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.deliver.taglib.TemplateControllerTag
              extended by org.infoglue.deliver.taglib.component.ComponentLogicTag
                  extended by org.infoglue.deliver.taglib.common.TextRenderTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class TextRenderTag
extends ComponentLogicTag

A Tag used for rendering images from text. Using the functionality in BasicTemplateController and ComponentLogic.

Author:
Per Jonsson per.jonsson@it-huset.se
See Also:
rg.infoglue.deliver.util.graphics.AdvancedImageRenderer, Serialized Form

Field Summary
 
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
 
Constructor Summary
TextRenderTag()
           
 
Method Summary
 int doEndTag()
           
 void setAlign(java.lang.String align)
           
 void setBackgroundImageUrl(java.lang.String backgroundImageUrl)
           
 void setBgColor(java.lang.String bgColor)
           
 void setContentId(java.lang.String contentId)
           
 void setFgColor(java.lang.String fgColor)
           
 void setFontName(java.lang.String fontName)
           
 void setFontSize(java.lang.String fontSize)
           
 void setFontStyle(java.lang.String fontStyle)
           
 void setImageType(java.lang.String imageType)
           
 void setMaxRows(java.lang.String maxRows)
           
 void setPad(java.lang.String pad)
           
 void setPadBottom(java.lang.String padBottom)
           
 void setPadLeft(java.lang.String padLeft)
           
 void setPadRight(java.lang.String padRight)
           
 void setPadTop(java.lang.String padTop)
           
 void setPropertyName(java.lang.String propertyName)
           
 void setRenderWidth(java.lang.String renderWidth)
           
 void setText(java.lang.String text)
           
 void setTileBackgroundImage(java.lang.String tileBackgroundImage)
           
 void setTrimEdges(java.lang.String trimEdges)
           
 
Methods inherited from class org.infoglue.deliver.taglib.component.ComponentLogicTag
getComponentLogic
 
Methods inherited from class org.infoglue.deliver.taglib.TemplateControllerTag
getController
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, 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
 

Constructor Detail

TextRenderTag

public TextRenderTag()
Method Detail

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

setPropertyName

public void setPropertyName(java.lang.String propertyName)
                     throws javax.servlet.jsp.JspException
Parameters:
propertyName - The propertyName to set.
Throws:
javax.servlet.jsp.JspException

setContentId

public void setContentId(java.lang.String contentId)
                  throws javax.servlet.jsp.JspException
Parameters:
contentId - The contentId to set.
Throws:
javax.servlet.jsp.JspException

setText

public void setText(java.lang.String text)
             throws javax.servlet.jsp.JspException
Parameters:
text - The text to set.
Throws:
javax.servlet.jsp.JspException

setAlign

public void setAlign(java.lang.String align)
              throws javax.servlet.jsp.JspException
Parameters:
align - The align to set.
Throws:
javax.servlet.jsp.JspException

setBackgroundImageUrl

public void setBackgroundImageUrl(java.lang.String backgroundImageUrl)
                           throws javax.servlet.jsp.JspException
Parameters:
backgroundImageUrl - The backgroundImageUrl to set.
Throws:
javax.servlet.jsp.JspException

setBgColor

public void setBgColor(java.lang.String bgColor)
                throws javax.servlet.jsp.JspException
Parameters:
bgColor - The bgColor to set.
Throws:
javax.servlet.jsp.JspException

setFgColor

public void setFgColor(java.lang.String fgColor)
                throws javax.servlet.jsp.JspException
Parameters:
fgColor - The fgColor to set.
Throws:
javax.servlet.jsp.JspException

setFontName

public void setFontName(java.lang.String fontName)
                 throws javax.servlet.jsp.JspException
Parameters:
fontName - The fontName to set.
Throws:
javax.servlet.jsp.JspException

setFontSize

public void setFontSize(java.lang.String fontSize)
                 throws javax.servlet.jsp.JspException
Parameters:
fontSize - The fontSize to set.
Throws:
javax.servlet.jsp.JspException

setFontStyle

public void setFontStyle(java.lang.String fontStyle)
                  throws javax.servlet.jsp.JspException
Parameters:
fontStyle - The fontStyle to set.
Throws:
javax.servlet.jsp.JspException

setImageType

public void setImageType(java.lang.String imageType)
                  throws javax.servlet.jsp.JspException
Parameters:
imageType - The imageType to set.
Throws:
javax.servlet.jsp.JspException

setMaxRows

public void setMaxRows(java.lang.String maxRows)
                throws javax.servlet.jsp.JspException
Parameters:
maxRows - The maxRows to set.
Throws:
javax.servlet.jsp.JspException

setPad

public void setPad(java.lang.String pad)
            throws javax.servlet.jsp.JspException
Parameters:
pad - The pad to set.
Throws:
javax.servlet.jsp.JspException

setPadBottom

public void setPadBottom(java.lang.String padBottom)
                  throws javax.servlet.jsp.JspException
Parameters:
padBottom - The padBottom to set.
Throws:
javax.servlet.jsp.JspException

setPadLeft

public void setPadLeft(java.lang.String padLeft)
                throws javax.servlet.jsp.JspException
Parameters:
padLeft - The padLeft to set.
Throws:
javax.servlet.jsp.JspException

setPadRight

public void setPadRight(java.lang.String padRight)
                 throws javax.servlet.jsp.JspException
Parameters:
padRight - The padRight to set.
Throws:
javax.servlet.jsp.JspException

setPadTop

public void setPadTop(java.lang.String padTop)
               throws javax.servlet.jsp.JspException
Parameters:
padTop - The padTop to set.
Throws:
javax.servlet.jsp.JspException

setRenderWidth

public void setRenderWidth(java.lang.String renderWidth)
                    throws javax.servlet.jsp.JspException
Parameters:
renderWidth - The renderWidth to set.
Throws:
javax.servlet.jsp.JspException

setTileBackgroundImage

public void setTileBackgroundImage(java.lang.String tileBackgroundImage)
                            throws javax.servlet.jsp.JspException
Parameters:
tileBackgroundImage - The tileBackgroundImage to set.
Throws:
javax.servlet.jsp.JspException

setTrimEdges

public void setTrimEdges(java.lang.String trimEdges)
                  throws javax.servlet.jsp.JspException
Parameters:
trimEdges - The trimEdges to set.
Throws:
javax.servlet.jsp.JspException


Copyright © 2005 InfoGlue.org All Rights Reserved.