de.laures.cewolf.taglib.tags
Class AbstractChartTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byde.laures.cewolf.taglib.tags.CewolfTag
          extended byde.laures.cewolf.taglib.tags.AbstractChartTag
All Implemented Interfaces:
CewolfRootTag, javax.servlet.jsp.tagext.IterationTag, Painted, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TaglibConstants
Direct Known Subclasses:
CombinedChartTag, OverlaidChartTag, SimpleChartTag

public abstract class AbstractChartTag
extends CewolfTag
implements CewolfRootTag, TaglibConstants, Painted

Root tag <chart> of a chart definition. Defines all values for the page scope variable of type ChartDefinition which is used by the img tag to render the appropriate chart.

Author:
Guido Laures
See Also:
Serialized Form

Field Summary
protected  AbstractChartDefinition chartDefinition
           
 
Fields inherited from class de.laures.cewolf.taglib.tags.CewolfTag
log
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface de.laures.cewolf.taglib.TaglibConstants
ANCHOR_EAST, ANCHOR_NORTH, ANCHOR_SOUTH, ANCHOR_WEST, TOOLTIPS_ENABLED_KEY
 
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
AbstractChartTag()
           
 
Method Summary
 void addChartPostProcessor(ChartPostProcessor pp, java.util.Map params)
           
protected abstract  AbstractChartDefinition createChartDefinition()
           
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getChartId()
          Method getChartId.
 void reset()
           
 void setAntialias(boolean anti)
           
 void setBackground(java.lang.String src)
           
 void setBackgroundimagealpha(java.lang.Float alpha)
           
 void setLegendanchor(java.lang.String anchor)
          Setter for property legend.
 void setPaint(java.awt.Paint paint)
          Method setPaint.
 void setShowlegend(boolean legend)
          Setter for property legend.
 void setTitle(java.lang.String title)
          Setter for property title.
 void setType(java.lang.String type)
          Setter for property type.
 void setXaxislabel(java.lang.String xAxisLabel)
          Setter for property xAxisLabel.
 void setYaxislabel(java.lang.String yAxisLabel)
          Setter for property xAxisLabel.
 
Methods inherited from class de.laures.cewolf.taglib.tags.CewolfTag
doAfterEndTag
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chartDefinition

protected AbstractChartDefinition chartDefinition
Constructor Detail

AbstractChartTag

public AbstractChartTag()
Method Detail

createChartDefinition

protected abstract AbstractChartDefinition createChartDefinition()

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class CewolfTag
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

reset

public void reset()
Specified by:
reset in class CewolfTag

getChartId

public java.lang.String getChartId()
Description copied from interface: CewolfRootTag
Method getChartId.

Specified by:
getChartId in interface CewolfRootTag
Returns:
String

setTitle

public void setTitle(java.lang.String title)
Setter for property title.

Parameters:
title - New value of property title.

setXaxislabel

public void setXaxislabel(java.lang.String xAxisLabel)
Setter for property xAxisLabel.

Parameters:
xAxisLabel - New value of property xAxisLabel.

setYaxislabel

public void setYaxislabel(java.lang.String yAxisLabel)
Setter for property xAxisLabel.


setBackground

public void setBackground(java.lang.String src)

setBackgroundimagealpha

public void setBackgroundimagealpha(java.lang.Float alpha)

setAntialias

public void setAntialias(boolean anti)

setShowlegend

public void setShowlegend(boolean legend)
Setter for property legend.

Parameters:
legend - New value of property legend.

setLegendanchor

public void setLegendanchor(java.lang.String anchor)
Setter for property legend.


addChartPostProcessor

public void addChartPostProcessor(ChartPostProcessor pp,
                                  java.util.Map params)

setPaint

public void setPaint(java.awt.Paint paint)
Description copied from interface: Painted
Method setPaint.

Specified by:
setPaint in interface Painted
Parameters:
paint -

setType

public void setType(java.lang.String type)
Setter for property type.

Parameters:
type - New value of property type.


Copyright © {inceptionYear}-2007 null. All Rights Reserved.