public class BooleanHandler extends java.lang.Object implements QuestionFormHandler<java.lang.Boolean>
QuestionFormHandler
for text input questionsConstructor and Description |
---|
BooleanHandler() |
Modifier and Type | Method and Description |
---|---|
void |
buildConfigForm(Form f)
build a configuration form
|
java.lang.Class<? extends ResponseDataManager> |
getDataClass()
what is the handler class for data generated by this question.
|
java.lang.Class<java.lang.Boolean> |
getTarget()
Get the type of the returned object as far as it is known.
|
boolean |
hasConfig()
are there any config parameters needed/valid.
|
Input<java.lang.Boolean> |
parseConfiguration(Form f)
read the configuration from the form.
|
public java.lang.Class<java.lang.Boolean> getTarget()
Targetted
public void buildConfigForm(Form f)
FormHandler
buildConfigForm
in interface FormHandler<Input<java.lang.Boolean>>
public Input<java.lang.Boolean> parseConfiguration(Form f)
FormHandler
FormHandler.hasConfig()
returns false.parseConfiguration
in interface FormHandler<Input<java.lang.Boolean>>
public java.lang.Class<? extends ResponseDataManager> getDataClass()
QuestionFormHandler
getDataClass
in interface QuestionFormHandler<java.lang.Boolean>
public boolean hasConfig()
FormHandler
hasConfig
in interface FormHandler<Input<java.lang.Boolean>>