org.makumba.forms.html
Class setEditor
java.lang.Object
org.makumba.commons.formatters.FieldFormatter
org.makumba.forms.html.FieldEditor
org.makumba.forms.html.choiceEditor
org.makumba.forms.html.ptrEditor
org.makumba.forms.html.setEditor
public class setEditor
- extends ptrEditor
| Methods inherited from class org.makumba.forms.html.FieldEditor |
checkParam, formatHidden, formatHiddenValue, formatShow, getExtraFormatting, getInputID, getInputName, getInputName, getSuffix, 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 |
_params
static String[] _params
_paramValues
static String[][] _paramValues
getAcceptedParams
public String[] getAcceptedParams()
- Overrides:
getAcceptedParams in class choiceEditor
getAcceptedValue
public String[][] getAcceptedValue()
- Overrides:
getAcceptedValue in class choiceEditor
getInstance
public static FieldFormatter getInstance()
isMultiple
public boolean isMultiple(RecordFormatter rf,
int fieldIndex)
- Description copied from class:
choiceEditor
- Returns blank string, or " multiple " if multiple selections possible.
- Overrides:
isMultiple in class ptrEditor
getDefaultSize
public int getDefaultSize(RecordFormatter rf,
int fieldIndex)
- Description copied from class:
choiceEditor
- Gets the default size of the select HTML box.
- Overrides:
getDefaultSize in class ptrEditor
readFrom
public Object readFrom(RecordFormatter rf,
int fieldIndex,
HttpParameters p,
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 ptrEditor