org.JCaiF.CoreComponents
Class RankingQuestion

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

public class RankingQuestion
extends MultiSelectQuestion

Author:
Michael Hall

Constructor Summary
RankingQuestion()
           
 
Method Summary
 void addToRank(ListItem i)
           
 ResponseList getRanking()
           
 java.lang.String getValue()
           
 void removeFromRank(ListItem i)
           
 java.lang.String toString()
           
 
Methods inherited from class org.JCaiF.CoreComponents.MultiSelectQuestion
onContinue, onLoad
 
Methods inherited from class org.JCaiF.CoreComponents.ResponseListQuestion
clone, getList, init, setList
 
Methods inherited from class org.JCaiF.CoreComponents.SimpleSurveyQuestion
getId, getParent, getText, setId, setParent, setText, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RankingQuestion

public RankingQuestion()
Method Detail

getRanking

public ResponseList getRanking()

addToRank

public void addToRank(ListItem i)

removeFromRank

public void removeFromRank(ListItem i)

getValue

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

toString

public java.lang.String toString()
Overrides:
toString in class ResponseListQuestion