com.representqueens.web.tags.spark
Class AbstractGraph

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.representqueens.web.tags.spark.AbstractGraph
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
AbstractServerGraph, BarGraph, LineGraph

public abstract class AbstractGraph
extends javax.servlet.jsp.tagext.TagSupport

Version:
$Revision: 1.3 $ $Date: 2007-03-11 20:40:58 $
Author:
Larry Ogrodnek
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
AbstractGraph()
           
 
Method Summary
 String getBackground()
           
protected  String getBarGraphData()
           
 String getColor()
           
protected  Number[] getData()
           
 String getHeight()
           
 String getHighColor()
           
 String getLastColor()
           
protected  String getLineGraphData()
           
 String getName()
           
 String getOutput()
           
protected  Encoder.Format getOutputFormat()
           
protected  SizeParams getSizeParams(SizeParams defaults)
           
 String getSpacing()
           
 String getWidth()
           
 void setBackground(String background)
           
 void setColor(String color)
           
 void setHeight(String height)
           
 void setHighColor(String highColor)
           
 void setLastColor(String lastColor)
           
 void setName(String name)
           
 void setOutput(String output)
           
 void setSpacing(String spacing)
           
 void setWidth(String width)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, 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
 

Constructor Detail

AbstractGraph

public AbstractGraph()
Method Detail

getColor

public String getColor()

setColor

public void setColor(String color)

getHeight

public String getHeight()

setHeight

public void setHeight(String height)

getName

public String getName()

setName

public void setName(String name)

getOutput

public String getOutput()

setOutput

public void setOutput(String output)

getSpacing

public String getSpacing()

setSpacing

public void setSpacing(String spacing)

getWidth

public String getWidth()

setWidth

public void setWidth(String width)

getHighColor

public String getHighColor()

setHighColor

public void setHighColor(String highColor)

getLastColor

public String getLastColor()

setLastColor

public void setLastColor(String lastColor)

getBackground

public String getBackground()

setBackground

public void setBackground(String background)

getBarGraphData

protected String getBarGraphData()
                          throws IOException
Throws:
IOException

getLineGraphData

protected String getLineGraphData()
                           throws IOException
Throws:
IOException

getSizeParams

protected SizeParams getSizeParams(SizeParams defaults)

getData

protected Number[] getData()

getOutputFormat

protected Encoder.Format getOutputFormat()