Package com.sun.javatest.interview
Class TestsInterview.TreeOrFileChoiceQuestion
- java.lang.Object
-
- com.sun.interview.Question
-
- com.sun.interview.ChoiceQuestion
-
- com.sun.javatest.interview.TestsInterview.TreeOrFileChoiceQuestion
-
- Enclosing class:
- TestsInterview
public class TestsInterview.TreeOrFileChoiceQuestion extends ChoiceQuestion
Represents Tests Selection Choice Question. Extracted to separate class for extensibility purposes
-
-
Constructor Summary
Constructors Constructor Description TreeOrFileChoiceQuestion(Interview interview, java.lang.String tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Question
getNext()
Get the next question to be asked.protected java.lang.String[]
getTestSelectionChoices()
Should be overridden if more selection choices are neededvoid
setValue(java.lang.String newValue)
Set the current value.-
Methods inherited from class com.sun.interview.ChoiceQuestion
clear, getChoices, getDefaultValue, getDisplayChoices, getDisplayValue, getStringValue, getValue, getValueOnPath, isValueAlwaysValid, isValueValid, load, save, setChoices, setChoices, setChoices, setDefaultValue, setI18NChoices
-
Methods inherited from class com.sun.interview.Question
addMarker, equals, export, getChecklistItems, getHelpID, getImage, getInterview, getKey, getResourceString, getResourceString, getSummary, getTag, getText, getTextArgs, hashCode, hasMarker, isEnabled, isHidden, reload, removeMarker, setHelpID, setImage, setImage, setSummary, setText
-
-
-
-
Constructor Detail
-
TreeOrFileChoiceQuestion
public TreeOrFileChoiceQuestion(Interview interview, java.lang.String tag)
-
-
Method Detail
-
getTestSelectionChoices
protected java.lang.String[] getTestSelectionChoices()
Should be overridden if more selection choices are needed- Returns:
- array of test selection choices
-
setValue
public void setValue(java.lang.String newValue)
Description copied from class:ChoiceQuestion
Set the current value.- Overrides:
setValue
in classChoiceQuestion
- Parameters:
newValue
- The value to be set. It must be one of the valid choices for this question, as distinct from the display choices.- See Also:
ChoiceQuestion.getValue()
-
-