Package org.kuali.rice.kns.question
Class QuestionBase
java.lang.Object
org.kuali.rice.kns.question.QuestionBase
- All Implemented Interfaces:
Question
- Direct Known Subclasses:
ConfirmationQuestion,RecallQuestion
Deprecated.
Only used in KNS classes, use KRAD.
This class is a base class to implement questions types.
"confirmation questions") rather than specific questions.
-
Constructor Summary
ConstructorsConstructorDescriptionQuestionBase(String question, ArrayList buttons) Deprecated.default constructor -
Method Summary
Modifier and TypeMethodDescriptiongetButtonIndex(String btnText) Deprecated.returns the index associated with a specified buttonDeprecated.Deprecated.voidsetButtons(ArrayList buttons) Deprecated.voidsetQuestion(String question) Deprecated.
-
Constructor Details
-
QuestionBase
Deprecated.default constructor- Parameters:
question- the question to assign to this question promptbuttons- the buttons associated with it
-
-
Method Details
-
getButtonIndex
Deprecated.returns the index associated with a specified button- Specified by:
getButtonIndexin interfaceQuestion- Parameters:
btnText- the text of the button- Returns:
- the index of this button
-
getButtons
Deprecated.- Specified by:
getButtonsin interfaceQuestion- Returns:
- Returns the buttons.
-
setButtons
Deprecated.- Specified by:
setButtonsin interfaceQuestion- Parameters:
buttons- The buttons to set.
-
getQuestion
Deprecated.- Specified by:
getQuestionin interfaceQuestion- Returns:
- Returns the question.
-
setQuestion
Deprecated.- Specified by:
setQuestionin interfaceQuestion- Parameters:
question- The question to set.
-