|
http://www.eteks.com | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
com.eteks.awt.servlet.PJAServlet | +--com.eteks.servlet.TeksSurveyPie
This servlet manages in a simple way a dynamic survey and returns the pie of the survey. It can be called in either ways :
.../servlet/com.eteks.servlet.TeksSurveyPie?survey=mySurvey&answer=myAnswer
adds the answer myAnswer
to the survey mySurvey
,
and then returns the pie of the current state of mySurvey
.
.../servlet/com.eteks.servlet.TeksSurveyPie?survey=mySurvey
simply returns the pie of the current state of mySurvey
.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.
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 |
コンストラクタの詳細 |
public TeksSurveyPie()
メソッドの詳細 |
public void initPJA(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
PJAServlet
の記述: init (ServletConfig config)
.
PJAServlet
implementation calls super.init (config)
.PJAServlet
内の initPJA
public void destroyPJA()
PJAServlet
の記述: destroy ()
.
PJAServlet
implementation calls super.destroy ()
.PJAServlet
内の destroyPJA
public java.lang.String getFontsPath()
PJAServlet
の記述: File.pathSeparator
.PJAServlet
constructor.PJAServlet
内の getFontsPath
com.eteks.awt.servlet.PJAServlet
からコピーされたタグ:PJAServlet
implementation returns "."
+ File.pathSeparator + getSystemProperty ("user.dir")
+ File.pathSeparator + getSystemProperty ("java.home")
public void doPostPJA(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
PJAServlet
の記述: doPost ()
.
PJAServlet
implementation calls super.doPost ()
.PJAServlet
内の doPostPJA
public void doGetPJA(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
PJAServlet
の記述: doGet ()
.
PJAServlet
implementation calls super.doGet ()
.PJAServlet
内の doGetPJA
public void sendGIFImage(java.awt.Image image, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
|
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |