Package org.javarosa.core.model
Class RangeQuestion
java.lang.Object
org.javarosa.core.model.QuestionDef
org.javarosa.core.model.RangeQuestion
- All Implemented Interfaces:
IFormElement,Localizable,Externalizable
public class RangeQuestion extends QuestionDef
A Range-type question, with information pulled from attributes of the range form element
-
Constructor Summary
Constructors Constructor Description RangeQuestion() -
Method Summary
Modifier and Type Method Description BigDecimalgetRangeEnd()BigDecimalgetRangeStart()BigDecimalgetRangeStep()voidreadExternal(DataInputStream dis, PrototypeFactory pf)voidsetRangeEnd(BigDecimal rangeEnd)voidsetRangeStart(BigDecimal rangeStart)voidsetRangeStep(BigDecimal rangeStep)voidwriteExternal(DataOutputStream dos)Methods inherited from class org.javarosa.core.model.QuestionDef
addChild, addSelectChoice, alertStateObservers, getActionController, getAdditionalAttribute, getAdditionalAttributes, getAppearanceAttr, getBind, getChild, getChildren, getChoice, getChoiceForValue, getChoices, getControlType, getDeepChildCount, getDynamicChoices, getHelpInnerText, getHelpText, getHelpTextID, getID, getLabelInnerText, getNumChoices, getOsmTags, getTextID, isComplex, localeChanged, registerStateObserver, removeSelectChoice, setAdditionalAttribute, setAppearanceAttr, setBind, setChildren, setControlType, setDynamicChoices, setHelpInnerText, setHelpText, setHelpTextID, setID, setLabelInnerText, setOsmTags, setTextID, unregisterAll, unregisterStateObserver
-
Constructor Details
-
RangeQuestion
public RangeQuestion()
-
-
Method Details
-
setRangeStart
-
getRangeStart
-
setRangeEnd
-
getRangeEnd
-
setRangeStep
-
getRangeStep
-
readExternal
public void readExternal(DataInputStream dis, PrototypeFactory pf) throws IOException, DeserializationException- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classQuestionDef- Throws:
IOExceptionDeserializationException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classQuestionDef- Throws:
IOException
-