英特內軟體股份有限公司


jcx.servlet.common
Class tableServlet

jcx.servlet.Servlet
  |
  +--jcx.servlet.common.htmlServlet
        |
        +--jcx.servlet.common.singleStepServlet
              |
              +--jcx.servlet.common.tableServlet

public abstract class tableServlet
extends singleStepServlet

HTML 輸出畫面中,內含 Html table 的程式皆可以此為雛型, 定義 table 的屬性,邊框,字型。


Fields inherited from class jcx.servlet.Servlet
files, req, resp
 
Constructor Summary
tableServlet()
           
 
Method Summary
protected abstract  java.lang.String[][] getData()
           傳回表格內資料,由繼承者覆寫.
protected  java.lang.String getTableAlign()
           傳回表格位置,由繼承者覆寫.
protected  java.lang.String getTableBackground()
           傳回表格底圖,由繼承者覆寫.
protected  java.lang.String getTableBgcolor()
           傳回表格底色,由繼承者覆寫.
protected  int getTableBorder()
           傳回表格格線大小,由繼承者覆寫.
protected  java.lang.String getTableWidth()
           傳回表格寬,由繼承者覆寫.
protected abstract  java.lang.String[] getTitle()
           傳回表格第一列之表頭資料,由繼承者覆寫.
 void runServlet()
           執行單一畫面僅需繼承後,覆寫 runServlet()即可
 
Methods inherited from class jcx.servlet.common.singleStepServlet
run1
 
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

tableServlet

public tableServlet()
Method Detail

getData

protected abstract java.lang.String[][] getData()
傳回表格內資料,由繼承者覆寫.

getTitle

protected abstract java.lang.String[] getTitle()
傳回表格第一列之表頭資料,由繼承者覆寫.

getTableWidth

protected java.lang.String getTableWidth()
傳回表格寬,由繼承者覆寫.

getTableAlign

protected java.lang.String getTableAlign()
傳回表格位置,由繼承者覆寫.

getTableBorder

protected int getTableBorder()
傳回表格格線大小,由繼承者覆寫.

getTableBackground

protected java.lang.String getTableBackground()
傳回表格底圖,由繼承者覆寫.

getTableBgcolor

protected java.lang.String getTableBgcolor()
傳回表格底色,由繼承者覆寫.

runServlet

public void runServlet()
                throws java.lang.Exception
Description copied from class: singleStepServlet
執行單一畫面僅需繼承後,覆寫
runServlet()即可
Overrides:
runServlet in class singleStepServlet

英特內軟體股份有限公司