Class Poggendoff7

Class Poggendoff7

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.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----Poggendoff7

public class Poggendoff7
extends Applet
 Poggendorff illusion.  Main class: builds user interface and handles user and system events.
   Version 1 will build and display the graphical objects.
   Version 2 will build the experimental trials and collect DVs
   Version 4 will build the results display window
   Version 5 will enhance the results display window (e.g., labels for x and y axis)
   Version 7 will implement error and result dialog boxes.

Version:
v7.0 September 2, 1996
Author:
Christopher Currie
See Also:
StimuliCanvas

See Also:
StimuliCanvas

Constructor Index

 o Poggendoff7()

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

Constructors

 o Poggendoff7
  public Poggendoff7()

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). .
Parameters:
NULL - no parameters
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 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 Poggendorff experiment description page