org.JCaiF.CoreComponents
Class TextDisplay

java.lang.Object
  extended by org.JCaiF.CoreComponents.SimpleSurveyQuestion
      extended by org.JCaiF.CoreComponents.TextDisplay
All Implemented Interfaces:
java.lang.Cloneable, SurveyComponent, SurveyObject, SurveyQuestion

public class TextDisplay
extends SimpleSurveyQuestion

Author:
Michael Hall

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

Constructor Detail

TextDisplay

public TextDisplay()
Creates a new instance of TextDisplay


TextDisplay

public TextDisplay(java.lang.String label)

TextDisplay

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

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