public class ChartPainetrUtils
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
CELL_PREFIX |
static java.lang.String |
DELIMIER |
static java.lang.String |
FLOAT_PREFIX |
构造器和说明 |
---|
ChartPainetrUtils() |
限定符和类型 | 方法和说明 |
---|---|
static Calculator |
createCalculatorFormRepo(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
TemplateSessionIDInfo sessionIDInfor,
Repository repo)
生成Calculator,以链接请求中的参数最为Calculator的参数
|
static BaseChartPainter |
getChartPainter(java.lang.String chartID,
int width,
int height,
java.lang.String sessionID,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
static BaseChartPainter |
getChartPainter(java.lang.String chartID,
int width,
int height,
TemplateSessionIDInfo sessionIDInfor,
Calculator calculator,
javax.servlet.http.HttpServletRequest req) |
public static final java.lang.String CELL_PREFIX
public static final java.lang.String FLOAT_PREFIX
public static final java.lang.String DELIMIER
public static BaseChartPainter getChartPainter(java.lang.String chartID, int width, int height, java.lang.String sessionID, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
java.lang.Exception
public static BaseChartPainter getChartPainter(java.lang.String chartID, int width, int height, TemplateSessionIDInfo sessionIDInfor, Calculator calculator, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public static Calculator createCalculatorFormRepo(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, TemplateSessionIDInfo sessionIDInfor, Repository repo)
req
- 链接请求res
- 链接回复sessionIDInfor
- 会话的信息repo
- 链接相关