org.JCaiF.CoreComponents
Class NumberInputQuestion
java.lang.Object
org.JCaiF.CoreComponents.SimpleSurveyQuestion
org.JCaiF.CoreComponents.TextInputQuestion
org.JCaiF.CoreComponents.FormattedInputQuestion
org.JCaiF.CoreComponents.NumberInputQuestion
- All Implemented Interfaces:
- java.lang.Cloneable, SurveyComponent, SurveyObject, SurveyQuestion
public class NumberInputQuestion
- extends FormattedInputQuestion
- Author:
- Michael Hall
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NumberInputQuestion
public NumberInputQuestion()
checkFormat
public boolean checkFormat(java.lang.String value)
- Creates a new instance of TextInputQuestion
- Overrides:
checkFormat
in class FormattedInputQuestion
setMax
public void setMax(double m)
getMax
public double getMax()
setMin
public void setMin(double m)
getMin
public double getMin()
intValue
public int intValue()
floatValue
public float floatValue()
doubleValue
public double doubleValue()
clone
public SurveyQuestion clone()
- Specified by:
clone
in interface SurveyComponent
- Specified by:
clone
in interface SurveyObject
- Specified by:
clone
in interface SurveyQuestion
- Overrides:
clone
in class FormattedInputQuestion