public abstract class AnswerFormat
extends java.lang.Object
implements java.io.Serializable
QuestionStep
to represent questions to ask the user. Each
question must have an associated answer format.
To use an answer format, instantiate the appropriate answer format subclass and attach it to a
question step or form item. Incorporate the resulting step into a task, and present the task with
a ViewTaskActivity
.
Modifier and Type | Class and Description |
---|---|
static class |
AnswerFormat.ChoiceAnswerStyle
The style of the question (that is, single or multiple choice).
|
static class |
AnswerFormat.DateAnswerStyle
The style of date picker to use in an
DateAnswerFormat object. |
static class |
AnswerFormat.NumberFormattingStyle
An enumeration of the format styles available for scale answers.
|
static interface |
AnswerFormat.QuestionType
Interface that
AnswerFormat.Type implements. |
static class |
AnswerFormat.Type
The type of question.
|
Constructor and Description |
---|
AnswerFormat()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
AnswerFormat.QuestionType |
getQuestionType()
Returns the QuestionType for this answer format.
|
public AnswerFormat()
public AnswerFormat.QuestionType getQuestionType()