org.kuali.rice.kns.question
Interface Question

All Known Implementing Classes:
ConfirmationQuestion, QuestionBase

public interface Question

This interface defines methods that are required to support c Confirmation Question.


Method Summary
 String getButtonIndex(String btnText)
          returns the index associated with a specified button
 ArrayList getButtons()
           
 String getQuestion()
           
 void setButtons(ArrayList buttons)
           
 void setQuestion(String question)
           
 

Method Detail

getButtonIndex

String getButtonIndex(String btnText)
returns the index associated with a specified button

Parameters:
btnText - the text of the button
Returns:
the index of this button

getButtons

ArrayList getButtons()
Returns:
Returns the buttons.

setButtons

void setButtons(ArrayList buttons)
Parameters:
buttons - The buttons to set.

getQuestion

String getQuestion()
Returns:
Returns the question.

setQuestion

void setQuestion(String question)
Parameters:
question - The question to set.


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.