Package com.sun.interview
Class CompositeQuestion
java.lang.Object
com.sun.interview.Question
com.sun.interview.CompositeQuestion
- Direct Known Subclasses:
PropertiesQuestion
A specialized base class for questions which have more than one value to be
manipulated by the user.
- Since:
- 4.0
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CompositeQuestion
(Interview interview) Create a question with no identifying tag.protected
CompositeQuestion
(Interview interview, String baseTag) Create a question with a nominated tag. -
Method Summary
Methods inherited from class com.sun.interview.Question
addMarker, clear, equals, export, getChecklistItems, getHelpID, getImage, getInterview, getKey, getNext, getResourceString, getResourceString, getStringValue, getSummary, getTag, getText, getTextArgs, hashCode, hasMarker, isEnabled, isHidden, isValueAlwaysValid, isValueValid, load, reload, removeMarker, save, setHelpID, setImage, setImage, setSummary, setText, setValue
-
Constructor Details
-
CompositeQuestion
Create a question with a nominated tag.- Parameters:
interview
- The interview containing this question.baseTag
- A name to uniquely identify this question within its interview.
-
CompositeQuestion
Create a question with no identifying tag.- Parameters:
interview
- The interview containing this question.
-
-
Method Details
-
setValue
Set the response to this question to the value represented by a string-valued argument. Subtypes of Question will typically have type-specific methods to set the value as well.- Parameters:
s
- A string containing a value value appropriate for the particular type of question whose value is being set.- Throws:
Interview.Fault
- (retained for compatibility; should not be thrown)- See Also:
-