英特內軟體股份有限公司


jcx.servlet.common
Class pieServlet

jcx.servlet.Servlet
  |
  +--jcx.servlet.common.ImageServlet
        |
        +--jcx.servlet.common.EISServlet
              |
              +--jcx.servlet.common.pieServlet

public abstract class pieServlet
extends EISServlet

圓形圖之基礎類別,凡是欲產生圓形圖均須要為繼承此類別做發展。 可快速開發統計圖程式


Fields inherited from class jcx.servlet.common.EISServlet
IS_BYTES_STRING, SHOW_TYPE, X_IS_LONG, X_VALUE, Y_IS_LONG
 
Fields inherited from class jcx.servlet.common.ImageServlet
GEN_FRAME, GEN_IMAGE
 
Fields inherited from class jcx.servlet.Servlet
files, req, resp
 
Constructor Summary
pieServlet()
           
 
Method Summary
 boolean paint(java.awt.Graphics g)
           繪製圓形圖 由pieServlet覆寫ImageServlet的 paint()功能
protected  boolean setSlope(double slope)
           設定圓形圖斜率
 
Methods inherited from class jcx.servlet.common.EISServlet
checkData, getBackColor, getData, getFrontColor, getTitle, getXName, getYName, is_bytes_string, setBackColor, setEIS, setFrontColor, setOrderBy, setTitle, setXName, setYName
 
Methods inherited from class jcx.servlet.common.ImageServlet
getImageSize, run1, setOutputStream
 
Methods inherited from class jcx.servlet.Servlet
addCookie, checkClientTrusted, checkServerTrusted, decode, equals, fromEscapeCode, getAcceptedIssuers, getClientProperty, getCookies, getFileInputStream, getFormData, getHeader, getInputStream, getMemoryInputStream, getMethod, getOutputStream, getParameter, getPath, lzw_decompress, returnAuthenticateResponse, returnAuthenticateResponse, returnErrorResponse, returnNormalResponse, run, setHeader, ToHtml, ToSql, verify
 

Constructor Detail

pieServlet

public pieServlet()
Method Detail

setSlope

protected boolean setSlope(double slope)
	設定圓形圖斜率
Parameters:
slope - 斜率,預設值0.41 其值必須符合1<=slope<0 若傳入1則產生平面圓形圖
   ex:setSlope(0.41);
Returns:
true設定完成;false設定失敗 若設定失敗,系統仍使用預設值

paint

public final boolean paint(java.awt.Graphics g)
   繪製圓形圖
   由pieServlet覆寫ImageServlet的
   paint()功能
Overrides:
paint in class ImageServlet

英特內軟體股份有限公司