Class UserInterfacePanel

Class UserInterfacePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
        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.
                           |
                           +----UserInterfacePanel
To Go Back click here.
class UserInterfacePanel
extends Panel
This class controls the buttons in the panel that resides at the bottom of the
    applet container.  It's methods will access ExperimentObject methods in order to
     control the presentation of stimuli and the collection of user data.
See Also:
ExperimentObject

Constructor Index

 o UserInterfacePanel(ExperimentObject)

Method Index

 o action(Event, Object)
UserInterfacePanel action method.
 o SwapButtons()
This method will swap the 1st and 3rd button (1st being on the right of the button row).

Constructors

 o UserInterfacePanel
  public UserInterfacePanel(ExperimentObject e)

Methods

 o action
  public boolean action(Event event,
                        Object what)
UserInterfacePanel action method. Captures button events and fires off the required action. .
Parameters:
Event - object
Returns:
boolean
Overrides:
action in class Component
 o SwapButtons
  public void SwapButtons()
This method will swap the 1st and 3rd button (1st being on the right of the button row).
       The 1st and 3rd buttons are the "smaller" and "larger" buttons.  Depending on the type of trial,
       either one or the other will be the right most button on the panel.  The experiment will
       also begin with an "Ascending" type of trial, so the "smaller" button will initially occupy the
       right most position.
Returns:
NULL