cmu.survey.objects
Class RadioButtonQuestionObject

java.lang.Object
  extended by cmu.survey.objects.QuestionObject
      extended by cmu.survey.objects.QuestionObjectWithOtherAnswer
          extended by cmu.survey.objects.RadioButtonQuestionObject
All Implemented Interfaces:
QuestionObjectWithChoices

public class RadioButtonQuestionObject
extends QuestionObjectWithOtherAnswer
implements QuestionObjectWithChoices


Constructor Summary
RadioButtonQuestionObject()
           
 
Method Summary
 boolean getAutoSubmitWhenFinishedWithThisQuestion()
           
 QuestionChoices.VectorPair getPairOfQuestionChoicesAndIDs()
           
 boolean getShowTheRadioButtonGraphic()
           
 boolean getShowTitles()
           
 boolean isHorizontal()
           
 boolean isHorizontalWithNoColumns()
          This refers to the special, visible column borders -- if it is horizontal, without showing columns, it'll still show horizontally, but it won't have the special visible columns between each radiobutton.
 void setAutoSubmitWhenFinishedWithThisQuestion(boolean b)
           
 void setHorizontal(boolean b)
           
 void setHorizontalWithNoColumns(boolean b)
           
 void setQuestionChoices(QuestionChoices choices)
           
 void setShowTheRadioButtonGraphic(boolean b)
           
 void setShowTitles(boolean b)
           
 
Methods inherited from class cmu.survey.objects.QuestionObjectWithOtherAnswer
getOtherAnswer, setOtherAnswer
 
Methods inherited from class cmu.survey.objects.QuestionObject
getAnswer, getQuestionType, getTimeResponses, setAnswer, setQuestionType, setTimeResponses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cmu.survey.objects.QuestionObjectWithChoices
getAnswer
 

Constructor Detail

RadioButtonQuestionObject

public RadioButtonQuestionObject()
Method Detail

getAutoSubmitWhenFinishedWithThisQuestion

public boolean getAutoSubmitWhenFinishedWithThisQuestion()
Returns:

isHorizontal

public boolean isHorizontal()
Returns:

getShowTheRadioButtonGraphic

public boolean getShowTheRadioButtonGraphic()
Returns:

getShowTitles

public boolean getShowTitles()
Returns:

setAutoSubmitWhenFinishedWithThisQuestion

public void setAutoSubmitWhenFinishedWithThisQuestion(boolean b)
Parameters:
b -

setHorizontal

public void setHorizontal(boolean b)
Parameters:
b -

setShowTheRadioButtonGraphic

public void setShowTheRadioButtonGraphic(boolean b)
Parameters:
b -

setShowTitles

public void setShowTitles(boolean b)
Parameters:
b -

setQuestionChoices

public void setQuestionChoices(QuestionChoices choices)
Specified by:
setQuestionChoices in interface QuestionObjectWithChoices

getPairOfQuestionChoicesAndIDs

public QuestionChoices.VectorPair getPairOfQuestionChoicesAndIDs()
Specified by:
getPairOfQuestionChoicesAndIDs in interface QuestionObjectWithChoices

isHorizontalWithNoColumns

public boolean isHorizontalWithNoColumns()
This refers to the special, visible column borders -- if it is horizontal, without showing columns, it'll still show horizontally, but it won't have the special visible columns between each radiobutton.

Returns:

setHorizontalWithNoColumns

public void setHorizontalWithNoColumns(boolean b)
Parameters:
b -