Class Ponzo7

Class Ponzo7

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
   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.
                                   |
                                   +----Ponzo7
To Go Back click here.
public class Ponzo7
extends Applet
Ponzo illusion.  Main class: builds user interface and handles
   user and system events.
   Version 1 will build the interface using gjt imageButton and Springy controller.  Initial
   stimuli will be constructed.
   Version 2 will redo initial (i.e., pre-trial) ponzo grahics to include where the comparison
   line should go such that random starting initial lenghts will fit between the two tilted line.
   Version 3 puts new constraints on the relative differences in lenght between the std. line and
   the average cmp. lines: difference in lenght must be an EVEN number of pixels.
   Version 4 implements threshold of differences measures.  It will also employ LiveConnect to
   allow user to--via a browser window--the results to a printer or save to disk.
   First enhancement is new interface--panel will place buttons as a function of trial type.
   Version 6 will use LiveConnect to save/print results.
   

Version:
6.00 January 20, 1997
Author:
Christopher Currie
See Also:
ExperimentObject, UserInterfacePanel

Constructor Index

 o Ponzo7()

Method Index

 o BuildInterface()
This public method will build the interface: one interface for an Ascending type of
       trial, and another for a Descending type of trial.
 o GetParameters()
This class function pulls parameters from the
      .html file.
  
 o handleEvent(Event)
Overwriting the handleEvent method of the Event class.
 o init()
The constructor will instanciate all interface objects .

Constructors

 o Ponzo7
  public Ponzo7()

Methods

 o init
  public void init()
The constructor will instanciate all interface objects .
Parameters:
NULL - no parameters
Returns:
void
Overrides:
init in class Applet
 o BuildInterface
  public void BuildInterface()
This public method will build the interface: one interface for an Ascending type of
       trial, and another for a Descending type of trial.
Parameters:
trialType - identifies the type of trial
Returns:
void
 o handleEvent
  public boolean handleEvent(Event evt)
Overwriting the handleEvent method of the Event class. .
Parameters:
Event - object
Returns:
boolean
Overrides:
handleEvent in class Component
 o GetParameters
  public void GetParameters()
This class function pulls parameters from the
      .html file. This parameters control how the stimulus will look
      and the particular IVs used.  This routine is robust in that it
      will use reasonable default values if 1) the html parameter tag
      is missing or 2) the string parameter can not be converted into
      a number, i.e., either an int or a double.
.
Parameters:
NULL - no parameters
Returns:
void