Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.makumba.forms.html
Class intEditor

    java.lang.Object
      org.makumba.commons.formatters.FieldFormatter
          org.makumba.forms.html.FieldEditor
              org.makumba.forms.html.charEditor
                  org.makumba.forms.html.intEditor

Direct Known Subclasses:
  realEditor

    public class intEditor

extends charEditor

Field Summary
`(package private) static String[]` | `__params`
`(package private) static String[][]` | `__paramValues`

Fields inherited from class org.makumba.forms.html.charEditor
`_params, _paramValues`

Fields inherited from class org.makumba.forms.html.FieldEditor
`ERROR_NO_BOOLEAN, ERROR_NO_INT, ERROR_NO_REAL, extraFormattingParam, formName, params, paramValues, suffixName`

Constructor Summary
`protected` | `intEditor()` Don't use this, use getInstance()

Method Summary
`String` | `formatNotNull(RecordFormatter rf, int fieldIndex, Object o, Dictionary<String,Object> formatParams)` Formats the input-field in case of not-null object
`String` | `formatValue(RecordFormatter rf, int fieldIndex, Object o, Dictionary<String,Object> formatParams)` Formats the value to appear in an input statement.
`String[]` | `getAcceptedParams()`
`String[][]` | `getAcceptedValue()`
`static FieldFormatter` | `getInstance()`
`int` | `getWidth(RecordFormatter rf, int fieldIndex)`
`Object` | `readFrom(RecordFormatter rf, int fieldIndex, HttpParameters par, String suffix)`

Methods inherited from class org.makumba.forms.html.charEditor
`formatNull, getInputType, getParams`

Methods inherited from class org.makumba.forms.html.FieldEditor
`checkParam, format, formatHidden, formatHiddenValue, formatShow, getExtraFormatting, getInputName, getInputName, getSuffix, onStartup, setExtraFormatting, setFormName, setSuffix, toBoolean, toInt, toReal`

Methods inherited from class org.makumba.commons.formatters.FieldFormatter
`checkParams, equals, 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`

Field Detail

### __params

    static String[] __params

### __paramValues

    static String[][] __paramValues

Constructor Detail

### intEditor

    protected intEditor()

  Don't use this, use getInstance()

Method Detail

### getInstance

    public static FieldFormatter getInstance()

### getAcceptedParams

    public String[] getAcceptedParams()

  Overrides:
    `getAcceptedParams` in class `charEditor`

### getAcceptedValue

    public String[][] getAcceptedValue()

  Overrides:
    `getAcceptedValue` in class `charEditor`

### getWidth

    public int getWidth(RecordFormatter rf,
                        int fieldIndex)

  Overrides:
    `getWidth` in class `charEditor`

### formatValue

    public String formatValue(RecordFormatter rf,
                              int fieldIndex,
                              Object o,
                              Dictionary<String,Object> formatParams)

  Formats the value to appear in an input statement.

  Overrides:
    `formatValue` in class `charEditor`

### readFrom

    public Object readFrom(RecordFormatter rf,
                           int fieldIndex,
                           HttpParameters par,
                           String suffix)

  Overrides:
    `readFrom` in class `FieldEditor`

### formatNotNull

    public String formatNotNull(RecordFormatter rf,
                                int fieldIndex,
                                Object o,
                                Dictionary<String,Object> formatParams)

  Description copied from class: `charEditor`
  Formats the input-field in case of not-null object

  Overrides:
    `formatNotNull` in class `charEditor`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Docs generated on 2009-02-25 14:20