de.laures.cewolf.taglib.tags
Class ColorTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
de.laures.cewolf.taglib.tags.CewolfBodyTag
de.laures.cewolf.taglib.tags.ColorTag
- All Implemented Interfaces:
- ChartPostProcessor, NonSerializableChartPostProcessor, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- PointTag
public class ColorTag
- extends CewolfBodyTag
- implements ChartPostProcessor, NonSerializableChartPostProcessor
Tag <color> which sets the color of its parent tag.
This must implement the Colored interface
- Author:
- Guido Laures
- See Also:
Colored
,
Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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.BodyTagSupport |
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, 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, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
ColorTag
public ColorTag()
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class CewolfBodyTag
- See Also:
Tag.doEndTag()
reset
protected void reset()
- Specified by:
reset
in class CewolfBodyTag
setColor
public void setColor(java.lang.String s)
getColor
protected java.awt.Color getColor()
processChart
public void processChart(java.lang.Object chart,
java.util.Map args)
- Description copied from interface:
ChartPostProcessor
- Processes a generated chart. This method is called by the ChartProducer
after a chart instance is generated and before it is rendered (if so).
The ChartProducer is responsible for post processing a chart dependant
on and only on the provided parameters. This means that the same parameters
should result in the same postprocessings.
- Specified by:
processChart
in interface ChartPostProcessor
- Parameters:
chart
- the chart instance; only JFreeChart instances are supportedargs
- parameters passed to the postprocessor. These are defined in the JSP- See Also:
ChartPostProcessorTag
getSerializablePostProcessor
public ChartPostProcessor getSerializablePostProcessor()
- Description copied from interface:
NonSerializableChartPostProcessor
- Must be implemented if the class that implements ChartPostProcessorTag is not serializable.
- Specified by:
getSerializablePostProcessor
in interface NonSerializableChartPostProcessor
cewolf tag library - web charts with JFreeChart