Index of all Fields and Methods
All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

To Go Back to Experiment Page, click here.


Index of all Fields and Methods

A

action(Event, Object). Method in class .UserInterfacePanel
UserInterfacePanel action method.
AdjustCmpLine(int, double, double, Point[]). Method in class .StimulusObject
 this method will adjust the cmp line, i.e., make longer if ascending type of trial,
              shorter is a descending type of trial.
  
append(TrialObject). Method in class .ListOfTrials
Appends a TrialObject at the end of the vector.
AvgCmpLineAsc(). Method in class .StimulusObject
This method returns the averge comparison line for an ascending type of
        trial (i.e., right and left end points).
AvgCmpLineDec(). Method in class .StimulusObject
This method returns the averge comparison line for an descending type of
        trial (i.e., right and left end points).
AvgCmpMidPoint(). Method in class .StimulusObject
This method returns the midpoint of an averge comparison line (i.e., right and left end points).

B

Bottom(). Method in class .StimulusExtent
This returns how far from the bottom of the canvas one needs the bottoms of the 2
             main, tilted, line segments to be in order for them to appear centered vertically.
BuildInterface(). Method in class .Ponzo7
This public method will build the interface: one interface for an Ascending type of
       trial, and another for a Descending type of trial.

C

calculateFirstThreshold(int). Method in class .TrialObject
This method sets the first threshold of the uncertainty interval.
ChangeCmpSize(boolean, Button, Button). Method in class .ExperimentObject
 This is called when the comparison line needs to change size.
  
ClearMe(Graphics, int, int). Method in class .StimulusObject
This routine will clear the comparison line.
ClippedOnLeft(). Method in class .StimulusExtent
Returns true if the left tilted line will be clipped at the left edge of
             the canvas.
  
ClippedOnRight(). Method in class .StimulusExtent
Returns true if the right tilted line will be clipped at the right edge of
             the canvas.
  
CloseBrowserWindow(). Method in class .Output
if you don't call myWindow.document.close(),the user will
        not be able to print or save the document you wrote.
  
CmpInsets(). Method in class .StimulusObject
 This method will return comparison lines inset value
ComputeExtent(int, int, double, double, double). Method in class .StimulusExtent
This function uses parameters from the html file to compute, in pixel units,
      where to place/locate the stimuli so that it is centered on the canvas.
  
CurrentTrial(). Method in class .ExperimentObject
Return value of trial counter (current trial counter)

D

DrawMe(Graphics, Point[], int). Method in class .StimulusObject
 This method will draw the ponzo illusion.

E

EndTrial(). Method in class .ExperimentObject
 This is called when the the trial ends.
  
ExperimentObject(double, double, double, int, double, double, double, double, int, double, double, Ponzo7). Constructor for class .ExperimentObject
Constructor collects parameters from the html file.

G

Gaussian(double, double). Method in class .ExperimentObject
This method returns a random function following a Gaussian distribution.
get(int). Method in class .ListOfTrials
Returns a TrialObject from the nth position in the vector.
GetApplet(). Method in class .ExperimentObject
Returns a handle to the Ponzo applet
GetCurrentCmpLine(). Method in class .TrialObject
Returns current comparison line endpoints
GetLastCmpLine(). Method in class .TrialObject
Returns last comparison line endpoints
GetLowerThreshold(). Method in class .TrialObject
This method returns the lower threshold associated with this trial object.
GetParameters(). Method in class .Ponzo7
This class function pulls parameters from the
      .html file.
  
GetPSE(). Method in class .TrialObject
This method returns the point of subjective equality associated with this trial object.
GetStepSize(). Method in class .TrialObject
Cets the stepSize
GetStepSizeFactor(). Method in class .TrialObject
Gets the step size factor
GetStimulusExtent(). Method in class .StimulusObject
 This method will a StimulusExtent class
GetTrialNumber(). Method in class .TrialObject
This method returns the serial position of this trial in the experiment.
GetTrialType(). Method in class .TrialObject
Returns type of trial: ASCENDING or DESCENDING
GetUpperThreshold(). Method in class .TrialObject
This method returns the upper threshold associated with this trial object.
GetXInterceptOnLeftLine(int). Method in class .StimulusExtent
Returns the x-component of the intercept point on the left tilted line given a y-value
GetXInterceptOnRightLine(int). Method in class .StimulusExtent
Returns the x-component of the intercept point on the right tilted line given a y-value

H

handleEvent(Event). Method in class .Ponzo7
Overwriting the handleEvent method of the Event class.
handleEvent(Event). Method in class .Results7
Event handler--hides window and captures event to open a browser window.

I

init(). Method in class .Ponzo7
The constructor will instanciate all interface objects .
InitialCmpLength(Point[]). Method in class .StimulusObject
 This method will return the length of the initial comparison line 
InterceptOfLeft(). Method in class .StimulusExtent
This method returns y-axis intercept of left line
InterceptOfRight(). Method in class .StimulusExtent
This method returns y-axis intercept of right line

L

Left(). Method in class .StimulusExtent
This method returns how far left the lower point of the right tilted line is on
             the canvas.
Length(). Method in class .StimulusExtent
This returns the length of the 2 main, tilted, line segments.
ListOfTrials(int). Constructor for class .ListOfTrials
Constructor creates a vector of elements, which will hold objects of type 'TrialObject'

M

minimumSize(). Method in class .myList
 Over-riding the default minimumSize method in order to set my own size.
  
minimumSize(). Method in class .myTextField
 Over-riding the default minimumSize method in order to set my own size.
  
myList(int, boolean, String). Constructor for class .myList
This construction instanciates a List object and saves information needed to set the size of the
        list window.
myTextField(String, String). Constructor for class .myTextField
This construction instanciates a TextField object and saves information needed to set the size of the
        display window.

N

Next(Button, Button, Button, Button). Method in class .ExperimentObject
 This is called when the next button is pressed.

O

OffsetRangeAsc(). Method in class .StimulusObject
This method returns the range of offsets used to either increase or decrease the
        lenght of the average comparison line lengths used in descending types
        of trials.
OffsetRangeDec(). Method in class .StimulusObject
This method returns the range of offsets used to either increase or decrease the
        lenght of the average comparison line lengths used in descending types
        of trials.
OpenBrowserWindow(). Method in class .Output
 OpenBrowserWindow uses the eval method, a built-in JavaScript function to open a
       browser window.
  
Output(Applet). Constructor for class .Output
This constructor requires a handle to the class that is an extention of
             an applet (the class specified by the APPLET tag in the HTML page).

P

paint(Graphics). Method in class .ExperimentObject
When paint is called for the first time, we have access to the
      bounds of the canvas at that time.
  
Ponzo7(). Constructor for class .Ponzo7

R

Results7(double[][], double, double, double, double[][], double, double, double, double, double, double, int, Ponzo7). Constructor for class .Results7
This constructor collects all DVs and initializes various objects used
             to display results in a java window.
Right(). Method in class .StimulusExtent
This method returns how far right the lower point of the left tilted line is on
             the canvas.

S

SaveAsCurrentCmpLine(Point[]). Method in class .StimulusObject
 This method saves the comparison line BEFORE it changes size.
  
SaveAsCurrentCmpLine(Point[]). Method in class .TrialObject
 This method saves the comparison line AFTER it changes size.
  
SaveAsLastCmpLine(Point[]). Method in class .TrialObject
 This method saves the comparison line BEFORE it changes size.
  
Seperation(). Method in class .StimulusExtent
This returns the seperation between the tops of the 2 main, tilted, line segments.
SeperationAtY(int). Method in class .StimulusExtent
Returns the horizontal seperation of the two tilted lines given a y-value
set(TrialObject, int). Method in class .ListOfTrials
Inserts a TrialObject at some point in the vector.
Set_interceptLeft(double). Method in class .StimulusExtent
Sets the class variable "interceptLeft" to the y-axis intercept value of the left tilted line.
Set_interceptRight(double). Method in class .StimulusExtent
Sets the class variable "interceptRight" to the y-intercept value of the right tilted line.
Set_slopeLeft(double). Method in class .StimulusExtent
Sets the class variable "slopeLeft" to the slope of the left tilted line.
Set_slopeRight(double). Method in class .StimulusExtent
Sets the class variable "slopeRight" to the slope of the right tilted line.
SetPointOfSubjectiveEquality(int). Method in class .TrialObject
This method will calculate remaining DVs.
SetStepSize(double). Method in class .TrialObject
Sets the stepSize
SetStepSizeFactor(double). Method in class .TrialObject
Sets the stepSizeFactor: 1-stepSize
show(). Method in class .Results7
The method shows the results window.
  
SlopeOfLeft(). Method in class .StimulusExtent
This method returns slope of left line
SlopeOfRight(). Method in class .StimulusExtent
This method returns slope of right line
StandardLength(). Method in class .StimulusObject
 This method will return the length of the standard line 
StandardLine(). Method in class .StimulusObject
This method returns the standard line (i.e., right and left end points).
StimulusObject(int, int, double, double, double, double, double, double, double). Constructor for class .StimulusObject
This constructor initializes the ponzo stimuli via the display parameters
      collected from the html file.
  
SwapButtons(). Method in class .UserInterfacePanel
This method will swap the 1st and 3rd button (1st being on the right of the button row).

T

Top(). Method in class .StimulusExtent
This returns how far from the top of the canvas one needs the tops of the 2
        main, tilted, line segments to be in order for them to appear centered vertically.
TotalNumberOfTrials(). Method in class .ExperimentObject
Return total number of trials for this experiment
TrialObject(Point[], int, int). Constructor for class .TrialObject
Constructor simply initializes trial specific information--see private data section.

U

UserInterfacePanel(ExperimentObject). Constructor for class .UserInterfacePanel

W

WriteToBrowserWindow(double[][], double, double, double, double[][], double, double, double, double, double, double, int). Method in class .Output
This method sends text/html commands to the document (i.e., the browser window).

X

XComp(). Method in class .StimulusExtent
This returns the x-component of a tilted main line segment (both right and left
        will have the same y-component.

Y

YComp(). Method in class .StimulusExtent
This returns the y-component of a tilted main line segment (both right and left
        will have the same y-component.