Class Output

Class Output

java.lang.Object
   |
   Warning: links to the API classes above do not exist.  Only links to the 
   Ponzo classes and the "see also" classes exist. If you choose a link 
   that does not exist, simply hit the right mouse button to return to this frame.
   |
   +----Output
To Go Back click here.
public class Output
extends Object
Output uses LiveConnect to output Ponzo results to another browser window
       The user can then print the results or save them to a file.  LiveConnect is only
       available on Netscape 3.0 as of the time of this writing.
       How to use this class:
          First: call method OpenBrowserWindow
          Second: call method WriteToBrowserWindow
          Third: call CloseBrowserWindow
          These method must be called in the order specified.
 

Constructor Index

 o Output(Applet)
This constructor requires a handle to the class that is an extention of
             an applet (the class specified by the APPLET tag in the HTML page).

Method Index

 o CloseBrowserWindow()
if you don't call myWindow.document.close(),the user will
        not be able to print or save the document you wrote.
  
 o OpenBrowserWindow()
 OpenBrowserWindow uses the eval method, a built-in JavaScript function to open a
       browser window.
  
 o WriteToBrowserWindow(double[][], double, double, double, double[][], double, double, double, double, double, double, int)
This method sends text/html commands to the document (i.e., the browser window).

Constructors

 o Output
  public Output(Applet a)
This constructor requires a handle to the class that is an extention of
             an applet (the class specified by the APPLET tag in the HTML page).
Parameters:
a - handle to applet class that is running your applet.

Methods

 o OpenBrowserWindow
  public void OpenBrowserWindow()
 OpenBrowserWindow uses the eval method, a built-in JavaScript function to open a
       browser window.
       It is not a method associated with any object, but is part of the language itself.
       The argument of the eval function is a string. Do not call eval to evaluate an arithmetic
       expression. JavaScript evaluates arithmetic expressions automatically. If the argument
       represents an expression, eval evaluates the expression. If the argument represents
       one or more JavaScript statements, eval performs the statements.
  
Parameters:
null - no parameters
Returns:
void
 o CloseBrowserWindow
  public void CloseBrowserWindow()
if you don't call myWindow.document.close(),the user will
        not be able to print or save the document you wrote. 
Parameters:
null - no parameters
Returns:
void
 o WriteToBrowserWindow
  public void WriteToBrowserWindow(double asc[][],
                                   double meanLTAsc,
                                   double meanUTAsc,
                                   double meanPSEAsc,
                                   double dec[][],
                                   double meanLTDec,
                                   double meanUTDec,
                                   double meanPSEDec,
                                   double meanLT,
                                   double meanUT,
                                   double meanPSE,
                                   int n)
This method sends text/html commands to the document (i.e., the browser window).
             For other applets, the parameter list and text to browser window will be different. 
Parameters:
asc - holds individual ascending trial data: lower & upper threshold & PSE
meanLTAsc - holds average lower threshold for ascending type of data.
meanUTAsc - holds average upper threshold for ascending type of data.
meanPSEAsc - average point of subjective equality for ascending type of data.
dec - holds individual decending trial data: lower & upper threshold & PSE
meanLTDec - holds average lower threshold for decending type of data.
meanUTDec - holds average upper threshold for decending type of data.
meanPSEDec - average point of subjective equality for decending type of data.
meanLT - lower threshold for all trials.
meanUT - upper threshold for all trials.
meanPSE - point of subjective equality for all trials.
Returns:
void