Class Muller11

Class Muller11

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----Muller11

public class Muller11
extends Applet
implements Runnable
Muller-Lyer illusion.  Main class: builds user interactive and handles
   user and system events.  Version 8 begins implementing a 2 X 2 experimental
   design:
                              Comparsion arrow
                             |IN     |     OUT
                            -|----------------
                  ACCENDING  |   n   |   n
     Type of trial          -|----------------   where n is # of trials/cell
                  DECENDING  |   n   |   n             n is a html file parameter
                            -|----------------
     Two new classes are added: a "trial" containing trial information and
     a vector class that will hold a list of "trial" objects.
     version 10 -- attemps threading and holding buttons down
     version 11 -- breaks DVs down by whether the cmp. is set to be smaller or
                   larger than the std. Most of changes are in StimuliCanvas.collectResults(),
                   and the creation of a class than manages the first results window--the
                   results window in earlier versions is now the second or next results
                   window. 
Version:
11.00 September 21, 1996
Author:
Christopher Currie
See Also:
StimuliCanvas, ListOfTrials, TrialObject, StimulusObject, HoldButton, FirstResults, SecondResults2

Constructor Index

 o Muller11()

Method Index

 o handleEvent(Event)
Overwriting the handleEvent method of the Event class.
 o init()
The constructor will use the gridbaglayout manager to place a canvas in the upper 3/4th of the window (top level container) and 3 buttons in the bottom level container.
 o run()

Constructors

 o Muller11
  public Muller11()

Methods

 o init
  public void init()
The constructor will use the gridbaglayout manager to place a canvas in the upper 3/4th of the window (top level container) and 3 buttons in the bottom level container. The row X column matrix will be 12 X 3. The gridBayLayout manager will place a Canvas (for drawing), a panel of buttons (user interface for changing line length). .
Returns:
void
Overrides:
init in class Applet
 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 run
  public void run()