org.makumba.forms.html
Class setintEnumEditor

java.lang.Object
  extended by org.makumba.commons.formatters.FieldFormatter
      extended by org.makumba.forms.html.FieldEditor
          extended by org.makumba.forms.html.choiceEditor
              extended by org.makumba.forms.html.charEnumEditor
                  extended by org.makumba.forms.html.setcharEnumEditor
                      extended by org.makumba.forms.html.setintEnumEditor

public class setintEnumEditor
extends setcharEnumEditor


Field Summary
 
Fields inherited from class org.makumba.forms.html.choiceEditor
_params, _paramValues, nullOption
 
Fields inherited from class org.makumba.forms.html.FieldEditor
ERROR_NO_BOOLEAN, ERROR_NO_INT, ERROR_NO_REAL, extraFormattingParam, formName, params, paramValues, suffixName
 
Method Summary
static FieldFormatter getInstance()
           
 Object getOptionValue(RecordFormatter rf, int fieldIndex, Object options, int i)
          Gets the value of option 'i'.
 Object readFrom(RecordFormatter rf, int fieldIndex, HttpParameters par, String suffix)
          Reads, converts and validates the value present in the HttpParameters, for the FieldEditor indicated by the given index.
 
Methods inherited from class org.makumba.forms.html.setcharEnumEditor
getDefaultSize, isMultiple
 
Methods inherited from class org.makumba.forms.html.charEnumEditor
formatOptionTitle, formatOptionValue, formatOptionValue, getOptions, getOptionsLength
 
Methods inherited from class org.makumba.forms.html.choiceEditor
format, getAcceptedParams, getAcceptedValue, getValueOrDefault, setNullOption, shouldRemoveNullValue
 
Methods inherited from class org.makumba.forms.html.FieldEditor
checkParam, formatHidden, formatHiddenValue, formatShow, formatValue, getExtraFormatting, getInputID, getInputName, getInputName, getSuffix, onStartup, readFrom, setExtraFormatting, setFormName, setSuffix, toInt, toReal
 
Methods inherited from class org.makumba.commons.formatters.FieldFormatter
checkParams, equals, formatNotNull, formatNull, getDefaultValueFormat, getEmptyValueFormat, getExpr, getIntParam, getIntParamString, initExpr, resetValueFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FieldFormatter getInstance()

getOptionValue

public Object getOptionValue(RecordFormatter rf,
                             int fieldIndex,
                             Object options,
                             int i)
Description copied from class: choiceEditor
Gets the value of option 'i'.

Overrides:
getOptionValue in class charEnumEditor

readFrom

public Object readFrom(RecordFormatter rf,
                       int fieldIndex,
                       HttpParameters par,
                       String suffix)
Description copied from class: FieldEditor
Reads, converts and validates the value present in the HttpParameters, for the FieldEditor indicated by the given index.

Overrides:
readFrom in class FieldEditor