org.makumba.list.html
Class booleanViewer
java.lang.Object
org.makumba.commons.formatters.FieldFormatter
org.makumba.list.html.FieldViewer
org.makumba.list.html.booleanViewer
public class booleanViewer
- extends FieldViewer
Boolean viewer, that simply displays "Yes" or "No" instead of "true" and "false"
TODO: add possibility to provide other display values than "Yes" or "No"
- Version:
- $Id: booleanViewer.java,v 1.1 May 11, 2008 9:45:07 PM manu Exp $
- Author:
- Manuel Gay
Methods inherited from class org.makumba.commons.formatters.FieldFormatter |
checkParam, checkParams, equals, format, 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 FieldFormatter
getAcceptedValue
public String[][] getAcceptedValue()
- Overrides:
getAcceptedValue
in class FieldFormatter
getInstance
public static FieldFormatter getInstance()
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