Class TrialObject

Class TrialObject

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
   |
   +----TrialObject

class TrialObject
extends Object
This class hold all the information about one trial.

Constructor Index

 o TrialObject(int, int, String)
Constructor simply initializes trial specific information--see private data section.

Method Index

 o GetConnectPoint()
Returns the y-component of the point where the sample comparison line connects to the right vertical line.
 o GetDV()
Returns the DV: "above" or "below"
 o GetOffset()
 o GetTrialType()
Returns the type of trial, i.e., "connect" - when the comparison sample transverse line connects with the standard; "above" - when the comparison sample transverse line is above the connecting point; and "below" - when comparison sample transverse line is below the connecting point.
 o StoreResponse(String)
This method stores the response of the user: "high" or "low"

Constructors

 o TrialObject
  public TrialObject(int cmpConnectIntersection,
                     int sampleIntersection,
                     String type)
Constructor simply initializes trial specific information--see private data section. .
Parameters:
cmpConnectIntersection - is where the true connect point is
sampleIntersection - is where the sample cmp. line is connected on this trial
type - is the type of trial

Methods

 o GetOffset
  public int GetOffset()
 o StoreResponse
  public void StoreResponse(String DV)
This method stores the response of the user: "high" or "low"
Parameters:
DV - is the response.
Returns:
void
 o GetConnectPoint
  public int GetConnectPoint()
Returns the y-component of the point where the sample comparison line connects to the right vertical line.
Parameters:
NULL - no parameters
Returns:
int the y-component value
 o GetTrialType
  public String GetTrialType()
Returns the type of trial, i.e., "connect" - when the comparison sample transverse line connects with the standard; "above" - when the comparison sample transverse line is above the connecting point; and "below" - when comparison sample transverse line is below the connecting point.
Parameters:
NULL - no parameters
Returns:
String - the trial type
 o GetDV
  public String GetDV()
Returns the DV: "above" or "below"
Parameters:
NULL - no parameters
Returns:
String

Back to ListOfTrials class documentation