cmu.survey.objects
Class RadioButtonQuestionObject
java.lang.Object
cmu.survey.objects.QuestionObject
cmu.survey.objects.QuestionObjectWithOtherAnswer
cmu.survey.objects.RadioButtonQuestionObject
- All Implemented Interfaces:
- QuestionObjectWithChoices
public class RadioButtonQuestionObject
- extends QuestionObjectWithOtherAnswer
- implements QuestionObjectWithChoices
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioButtonQuestionObject
public RadioButtonQuestionObject()
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
-