public static class fourchoice.DesignContainer
extends java.lang.Object
fourchoice.Trial| Constructor and Description |
|---|
fourchoice.DesignContainer()
The constructor generates the trials according the design parameters which
are defined earlier in the static variables.
|
| Modifier and Type | Method and Description |
|---|---|
void |
response(int trialNum)
This function is called to record the time when user pressed the key
|
boolean |
userPressedKey(int keyCode,
int trialNum)
User pressed key.
|
public fourchoice.DesignContainer()
public boolean userPressedKey(int keyCode,
int trialNum)
keyCode - user's keyCodetrialNum - user's trialnumberpublic void response(int trialNum)