http://www.eteks.com

com.eteks.servlet
クラス TeksSurveyPie

com.eteks.awt.servlet.PJAServlet
  |
  +--com.eteks.servlet.TeksSurveyPie

public class TeksSurveyPie
extends PJAServlet

This servlet manages in a simple way a dynamic survey and returns the pie of the survey. It can be called in either ways :

To be platform independant, the servlet uses com.eteks.awt.servlet.PJAServlet as super class, to have at disposal an image into which graphics operation can be performed.
com.eteks.awt.PJAServlet class and depending classes of com.eteks.awt packages must be in the servlet engine classpath, and at least one .pjaf font file (Pure Java AWT Font) must exist in the user directory or in the directory set in the java.awt.fonts system property, if JVM version <= 1.1.

導入されたバージョン:
PJA1.0
バージョン:
2.1
作成者:
Emmanuel Puybaret
関連項目:
PJAServlet

コンストラクタの概要
TeksSurveyPie()
           
 
メソッドの概要
 void destroyPJA()
          Override this method instead of the final method destroy ().
 void doGetPJA(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Override this method instead of the final method doGet ().
 void doPostPJA(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Override this method instead of the final method doPost ().
 java.lang.String getFontsPath()
          Override this method to return the fonts path where .pjaf files (JDK 1.1) or True Type files (JDK >= 1.2) can be found.
 void initPJA(javax.servlet.ServletConfig config)
          Override this method instead of the final method init (ServletConfig config).
 void sendGIFImage(java.awt.Image image, javax.servlet.http.HttpServletResponse response)
          Generates a GIF image on the response stream from image.
 
クラス com.eteks.awt.servlet.PJAServlet から継承したメソッド
createImage, destroy, doDelete, doDeletePJA, doGet, doOptions, doOptionsPJA, doPost, doPut, doPutPJA, doTrace, doTracePJA, getServletInfo, getServletInfoPJA, getSystemProperty, getUserHomeDir, init, init, initPJA, isDefaultToolkitAvailable, service, service, servicePJA, servicePJA, testDefaultToolkit
 

コンストラクタの詳細

TeksSurveyPie

public TeksSurveyPie()
メソッドの詳細

initPJA

public void initPJA(javax.servlet.ServletConfig config)
             throws javax.servlet.ServletException
クラス PJAServlet の記述:
Override this method instead of the final method init (ServletConfig config). PJAServlet implementation calls super.init (config).
オーバーライド:
クラス PJAServlet 内の initPJA

destroyPJA

public void destroyPJA()
クラス PJAServlet の記述:
Override this method instead of the final method destroy (). PJAServlet implementation calls super.destroy ().
オーバーライド:
クラス PJAServlet 内の destroyPJA

getFontsPath

public java.lang.String getFontsPath()
クラス PJAServlet の記述:
Override this method to return the fonts path where .pjaf files (JDK 1.1) or True Type files (JDK >= 1.2) can be found. If you want to return more than one directory separate them with File.pathSeparator.
Note : This method is called from within PJAServlet constructor.
オーバーライド:
クラス PJAServlet 内の getFontsPath
クラス com.eteks.awt.servlet.PJAServlet からコピーされたタグ:
戻り値:
PJAServlet implementation returns "." + File.pathSeparator + getSystemProperty ("user.dir") + File.pathSeparator + getSystemProperty ("java.home")

doPostPJA

public void doPostPJA(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
クラス PJAServlet の記述:
Override this method instead of the final method doPost (). PJAServlet implementation calls super.doPost ().
オーバーライド:
クラス PJAServlet 内の doPostPJA

doGetPJA

public void doGetPJA(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
クラス PJAServlet の記述:
Override this method instead of the final method doGet (). PJAServlet implementation calls super.doGet ().
オーバーライド:
クラス PJAServlet 内の doGetPJA

sendGIFImage

public void sendGIFImage(java.awt.Image image,
                         javax.servlet.http.HttpServletResponse response)
                  throws javax.servlet.ServletException,
                         java.io.IOException
Generates a GIF image on the response stream from image.

© 1997-2001 eTeks - All rights reserved