Class Muller10

Class Muller10

Warning, links to the API class, i.e., java.awt.*, java.lang.*, etc., do not exist. Only links to Mueller-Lyer class exists: the "see also" links.
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----Muller10

public class Muller10
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:
v10.0 August 1, 1996
Author:
Christopher Currie
See Also:
StimuliCanvas

Constructor Index

 o Muller10()

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 Muller10
  public Muller10()

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()

Back to Meuller-Lyer experiment description page