Class Results

Class Results

Warning, links to the API class, i.e., java.awt.*, java.lang.*, etc., do not exist. Only links to Poggendoff class exists: the "see also" links.
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----Results

public class Results
extends Frame
This class first creates the creates the frame that will display the results. The frame component contains one button ("exit") to destroy the applet and a canvas on which the results will be displayed
See Also:
CanvasGraph, ResultsDialog

Constructor Index

 o Results(double[], int[], int)
The constructor places the exit button and canvas

Method Index

 o action(Event, Object)
This methods captures button presses which collect the user response and advance either to the next trial or the results window.
 o handleEvent(Event)
This method will destroy the applet if the exit button is press.
 o show()
This synchronized method will display the results window.

Constructors

 o Results
  public Results(double offset[],
                 int percent[],
                 int maxPoints)
The constructor places the exit button and canvas
Parameters:
offset - is an array of comparision line offsets
percent - is an array of y-component curve points
maxPoints - is the maximum index value for the offset and percent arrays

Methods

 o show
  public synchronized void show()
This synchronized method will display the results window.
Parameters:
NULL - no parameters
Returns:
void
Overrides:
show in class Window
 o handleEvent
  public boolean handleEvent(Event event)
This method will destroy the applet if the exit button is press. It will hide the window if it is destroyed.
Parameters:
event - is an Event object
Returns:
boolean
Overrides:
handleEvent in class Component
 o action
  public boolean action(Event evt,
                        Object arg)
This methods captures button presses which collect the user response and advance either to the next trial or the results window. .
Parameters:
evt - is the event
arg - is the argument of the event
Returns:
boolean
Overrides:
action in class Component

Back to StimuliCanvas class documentation