org.JCaiF.CoreComponents
Class TextInputQuestion

java.lang.Object
  extended by org.JCaiF.CoreComponents.SimpleSurveyQuestion
      extended by org.JCaiF.CoreComponents.TextInputQuestion
All Implemented Interfaces:
java.lang.Cloneable, SurveyComponent, SurveyObject, SurveyQuestion
Direct Known Subclasses:
FormattedInputQuestion

public class TextInputQuestion
extends SimpleSurveyQuestion

Author:
Michael Hall

Constructor Summary
TextInputQuestion()
          Creates a new instance of TextInputQuestion
TextInputQuestion(java.lang.String label)
           
TextInputQuestion(java.lang.String label, java.lang.String text)
           
 
Method Summary
 SurveyQuestion clone()
           
 java.lang.String getValue()
           
 void init()
           
 boolean onContinue()
           
 boolean onLoad()
           
 void setValue(java.lang.String s)
           
 
Methods inherited from class org.JCaiF.CoreComponents.SimpleSurveyQuestion
getId, getParent, getText, setId, setParent, setText, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextInputQuestion

public TextInputQuestion()
Creates a new instance of TextInputQuestion


TextInputQuestion

public TextInputQuestion(java.lang.String label)

TextInputQuestion

public TextInputQuestion(java.lang.String label,
                         java.lang.String text)
Method Detail

getValue

public java.lang.String getValue()
Specified by:
getValue in interface SurveyObject
Overrides:
getValue in class SimpleSurveyQuestion

setValue

public void setValue(java.lang.String s)
Specified by:
setValue in interface SurveyObject
Overrides:
setValue in class SimpleSurveyQuestion

init

public void init()
Specified by:
init in interface SurveyObject
Overrides:
init in class SimpleSurveyQuestion

onLoad

public boolean onLoad()
Specified by:
onLoad in interface SurveyComponent
Overrides:
onLoad in class SimpleSurveyQuestion

onContinue

public boolean onContinue()
Specified by:
onContinue in interface SurveyComponent
Overrides:
onContinue in class SimpleSurveyQuestion

clone

public SurveyQuestion clone()
Specified by:
clone in interface SurveyComponent
Specified by:
clone in interface SurveyObject
Specified by:
clone in interface SurveyQuestion
Overrides:
clone in class SimpleSurveyQuestion