org.JCaiF.CoreComponents
Class SimpleSurveyQuestion
java.lang.Object
org.JCaiF.CoreComponents.SimpleSurveyQuestion
- All Implemented Interfaces:
- java.lang.Cloneable, SurveyComponent, SurveyObject, SurveyQuestion
- Direct Known Subclasses:
- ResponseListQuestion, TextDisplay, TextInputQuestion
public class SimpleSurveyQuestion
- extends java.lang.Object
- implements SurveyQuestion
- Author:
- Michael Hall
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleSurveyQuestion
public SimpleSurveyQuestion()
- Creates a new instance of SimpleSurveyQuestion
getParent
public ComponentContainer getParent()
- Specified by:
getParent
in interface SurveyComponent
setParent
public void setParent(ComponentContainer p)
- Specified by:
setParent
in interface SurveyComponent
setValue
public void setValue(java.lang.String v)
- Specified by:
setValue
in interface SurveyObject
setText
public void setText(java.lang.String t)
- Specified by:
setText
in interface SurveyComponent
setId
public void setId(java.lang.String id)
- Specified by:
setId
in interface SurveyObject
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface SurveyObject
getText
public java.lang.String getText()
- Specified by:
getText
in interface SurveyComponent
getId
public java.lang.String getId()
- Specified by:
getId
in interface SurveyObject
onLoad
public boolean onLoad()
- Specified by:
onLoad
in interface SurveyComponent
onContinue
public boolean onContinue()
- Specified by:
onContinue
in interface SurveyComponent
init
public void init()
- Specified by:
init
in interface SurveyObject
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 java.lang.Object