org.makumba.forms.html
Class binaryEditor
java.lang.Object
org.makumba.commons.formatters.FieldFormatter
org.makumba.forms.html.FieldEditor
org.makumba.forms.html.binaryEditor
public class binaryEditor
- extends FieldEditor
Method Summary |
static String |
fileInput(RecordFormatter rf,
int fieldIndex,
Dictionary<String,Object> formatParams)
|
String |
format(RecordFormatter rf,
int fieldIndex,
Object o,
Dictionary<String,Object> formatParams)
Format the object to pure text. |
String |
formatNotNull(RecordFormatter rf,
int fieldIndex,
Object o,
Dictionary<String,Object> formatParams)
Formats the not-null-object to pure text. |
String |
formatNull(RecordFormatter rf,
int fieldIndex,
Dictionary<String,Object> formatParams)
Format the null-object to pure text. |
String[] |
getAcceptedParams()
|
String[][] |
getAcceptedValue()
|
static FieldFormatter |
getInstance()
|
Methods inherited from class org.makumba.forms.html.FieldEditor |
checkParam, formatHidden, formatHiddenValue, formatShow, formatValue, getExtraFormatting, getInputID, getInputName, getInputName, getSuffix, onStartup, readFrom, readFrom, setExtraFormatting, setFormName, setSuffix, toInt, toReal |
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 FieldEditor
getAcceptedValue
public String[][] getAcceptedValue()
- Overrides:
getAcceptedValue
in class FieldEditor
getInstance
public static FieldFormatter getInstance()
format
public String format(RecordFormatter rf,
int fieldIndex,
Object o,
Dictionary<String,Object> formatParams)
- Description copied from class:
FieldFormatter
- Format the object to pure text. If text-format is blank, try the "empty" replacer value.
- Overrides:
format
in class FieldEditor
- Parameters:
rf
- TODOfieldIndex
- TODO
formatNull
public String formatNull(RecordFormatter rf,
int fieldIndex,
Dictionary<String,Object> formatParams)
- Description copied from class:
FieldFormatter
- Format the null-object to pure text. Try the "default" format parameter.
- Overrides:
formatNull
in class FieldFormatter
- Parameters:
rf
- TODOfieldIndex
- TODO
formatNotNull
public String formatNotNull(RecordFormatter rf,
int fieldIndex,
Object o,
Dictionary<String,Object> formatParams)
- Description copied from class:
FieldFormatter
- Formats the not-null-object to pure text. To be over-ridden by subclasses.
- Overrides:
formatNotNull
in class FieldFormatter
fileInput
public static String fileInput(RecordFormatter rf,
int fieldIndex,
Dictionary<String,Object> formatParams)