英特內軟體股份有限公司


jcx.servlet.common
Class GunterServlet

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

public abstract class GunterServlet
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
GunterServlet()
           
 
Method Summary
abstract  java.lang.Object getData()
           取得繪圖資料.
 boolean paint(java.awt.Graphics g)
           繪製甘特圖 由GunterServlet覆寫ImageServlet的 paint()功能
 
Methods inherited from class jcx.servlet.common.EISServlet
checkData, getBackColor, 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

GunterServlet

public GunterServlet()
Method Detail

paint

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

getData

public abstract java.lang.Object getData()
	取得繪圖資料.
Overrides:
getData in class EISServlet
Returns:
String[][] 輸入一二維array,每一筆資料有三個元素 階段名稱,起始日期,結束日期 ,例如String data[][]= {{"蒐集資料","890101","890201"},{"規劃議價","890115","890201"}...} 且日期必須為數字
傳入甘特圖所需資料,由繼承者複寫

英特內軟體股份有限公司