sbr.items.constants
Class NQC

java.lang.Object
  extended by sbr.items.constants.NQC

public class NQC
extends java.lang.Object

Constants related to adding questions.

Version:
0.3
Author:
John H. Krantz, Ph.D.

Field Summary
static int AGE
          Demographics: add question about participant's age
static java.awt.Color[] BACK
          Color associated with each question type.
static int CHECKBOX
          code for adding a checkbox type of question.
static int COUNTRY_BIRTH
          Demographics: add question about participant's country of birth
static int COUNTRY_RESIDENCE
          Demographics: add question about participant's country of residence
static boolean[] DEMO_DFLT
          default demographic questions to add.
static java.lang.String[] DEMO_NAMES
          Demographics: Names of standard demographic questions.
static java.lang.String[] DEMO_TOOLTIP
          Demographi questions tool tips.
static int DEMOGRAPHICS
          code for adding demographics
static int DIVIDER
          code for a divider
static int EDUCATION
          Demographics: add question about participant's education
static boolean HORIZONTAL
           
static int LIKERT
          code for adding a likert type question.
static int LONG_TEXT
          code for adding an extended text item.
static int MENU
          code for adding a drop-down menu type of item.
static int N_CHECK
          Number of parameters to indicate a checkbox item
static int N_DEMO
          Number of parameters to indicate indicate the demographic items chosen to use.
static int[] N_ITEMS
          Array of number of parameters for each type of item.
static int N_LIKERT
          Number of parameters to indicate a likert question
static int N_LONG
          Number of parameters to indicate an extended text item.
static int N_MENU
          Number of parameters to indicate a drop-down menu item
static int N_RADIO
          Number of parameters to indicate a radio item
static int N_SHORT
          Number of parameters to indicate a short text item.
static int N_TEXT
          Number of parameters to indicate a text field
static int N_VAS
          Number of parameters to indicate a visual analog scale item.
static int NEW_ITEM
          Code number for adding an new item
static java.lang.String[] questTypeS
          Names of all the question types.
static int RACE
          Demographics: add question about participant's race
static int RADIO
          code for adding a radio type question.
static int SEX
          Demographics: add question about participant's gender
static boolean[] SHIFT
           
static int[] SHORT_CUTS
           
static int SHORT_TEXT
          code for adding a short text item which as a limited number of characters allowed.
static int TEXT
          code for adding text to the web page
static java.lang.String[] TOOL_TIP
          Too tips for each question type.
static int VAR
          length of fields for inputing numbers for the getting parameters for the questions.
static int VAS
          code for adding a visual analog scale item.
static boolean VERTICAL
          code for direction of radio and check box items.
 
Constructor Summary
NQC()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIVIDER

public static final int DIVIDER
code for a divider

See Also:
Constant Field Values

DEMOGRAPHICS

public static final int DEMOGRAPHICS
code for adding demographics

See Also:
Constant Field Values

TEXT

public static final int TEXT
code for adding text to the web page

See Also:
Constant Field Values

LIKERT

public static final int LIKERT
code for adding a likert type question.

See Also:
Constant Field Values

RADIO

public static final int RADIO
code for adding a radio type question.

See Also:
Constant Field Values

CHECKBOX

public static final int CHECKBOX
code for adding a checkbox type of question.

See Also:
Constant Field Values

MENU

public static final int MENU
code for adding a drop-down menu type of item.

See Also:
Constant Field Values

SHORT_TEXT

public static final int SHORT_TEXT
code for adding a short text item which as a limited number of characters allowed.

See Also:
Constant Field Values

LONG_TEXT

public static final int LONG_TEXT
code for adding an extended text item.

See Also:
Constant Field Values

VAS

public static final int VAS
code for adding a visual analog scale item.

See Also:
Constant Field Values

questTypeS

public static final java.lang.String[] questTypeS
Names of all the question types.


SHORT_CUTS

public static final int[] SHORT_CUTS

SHIFT

public static final boolean[] SHIFT

TOOL_TIP

public static final java.lang.String[] TOOL_TIP
Too tips for each question type.


BACK

public static final java.awt.Color[] BACK
Color associated with each question type.


VERTICAL

public static final boolean VERTICAL
code for direction of radio and check box items.

See Also:
Constant Field Values

HORIZONTAL

public static final boolean HORIZONTAL
See Also:
Constant Field Values

VAR

public static final int VAR
length of fields for inputing numbers for the getting parameters for the questions.

See Also:
Constant Field Values

SEX

public static final int SEX
Demographics: add question about participant's gender

See Also:
Constant Field Values

AGE

public static final int AGE
Demographics: add question about participant's age

See Also:
Constant Field Values

RACE

public static final int RACE
Demographics: add question about participant's race

See Also:
Constant Field Values

EDUCATION

public static final int EDUCATION
Demographics: add question about participant's education

See Also:
Constant Field Values

COUNTRY_BIRTH

public static final int COUNTRY_BIRTH
Demographics: add question about participant's country of birth

See Also:
Constant Field Values

COUNTRY_RESIDENCE

public static final int COUNTRY_RESIDENCE
Demographics: add question about participant's country of residence

See Also:
Constant Field Values

DEMO_NAMES

public static final java.lang.String[] DEMO_NAMES
Demographics: Names of standard demographic questions.


DEMO_DFLT

public static final boolean[] DEMO_DFLT
default demographic questions to add.


DEMO_TOOLTIP

public static final java.lang.String[] DEMO_TOOLTIP
Demographi questions tool tips.


N_TEXT

public static final int N_TEXT
Number of parameters to indicate a text field

See Also:
Constant Field Values

N_LIKERT

public static final int N_LIKERT
Number of parameters to indicate a likert question

See Also:
Constant Field Values

N_RADIO

public static final int N_RADIO
Number of parameters to indicate a radio item

See Also:
Constant Field Values

N_CHECK

public static final int N_CHECK
Number of parameters to indicate a checkbox item

See Also:
Constant Field Values

N_MENU

public static final int N_MENU
Number of parameters to indicate a drop-down menu item

See Also:
Constant Field Values

N_SHORT

public static final int N_SHORT
Number of parameters to indicate a short text item.

See Also:
Constant Field Values

N_LONG

public static final int N_LONG
Number of parameters to indicate an extended text item.

See Also:
Constant Field Values

N_VAS

public static final int N_VAS
Number of parameters to indicate a visual analog scale item.

See Also:
Constant Field Values

N_DEMO

public static final int N_DEMO
Number of parameters to indicate indicate the demographic items chosen to use.

See Also:
Constant Field Values

N_ITEMS

public static final int[] N_ITEMS
Array of number of parameters for each type of item.


NEW_ITEM

public static final int NEW_ITEM
Code number for adding an new item

See Also:
Constant Field Values
Constructor Detail

NQC

public NQC()