org.JCaiF.CoreComponents
Class NumberInputQuestion

java.lang.Object
  extended by org.JCaiF.CoreComponents.SimpleSurveyQuestion
      extended by org.JCaiF.CoreComponents.TextInputQuestion
          extended by org.JCaiF.CoreComponents.FormattedInputQuestion
              extended by org.JCaiF.CoreComponents.NumberInputQuestion
All Implemented Interfaces:
java.lang.Cloneable, SurveyComponent, SurveyObject, SurveyQuestion

public class NumberInputQuestion
extends FormattedInputQuestion

Author:
Michael Hall

Constructor Summary
NumberInputQuestion()
           
 
Method Summary
 boolean checkFormat(java.lang.String value)
          Creates a new instance of TextInputQuestion
 SurveyQuestion clone()
           
 double doubleValue()
           
 float floatValue()
           
 double getMax()
           
 double getMin()
           
 int intValue()
           
 void setMax(double m)
           
 void setMin(double m)
           
 
Methods inherited from class org.JCaiF.CoreComponents.FormattedInputQuestion
checkFormat, getPattern, getValue, init, onContinue, onLoad, setPattern, setValue
 
Methods inherited from class org.JCaiF.CoreComponents.SimpleSurveyQuestion
getId, getParent, getText, setId, setParent, setText, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberInputQuestion

public NumberInputQuestion()
Method Detail

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