Package org.openxava.formatters
Class BooleanIconListFormatter
- java.lang.Object
-
- org.openxava.formatters.BooleanIconListFormatter
-
- All Implemented Interfaces:
IFormatter
public class BooleanIconListFormatter extends java.lang.Object implements IFormatter
Shows a check icon for true values in list mode.- Since:
- 5.9
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description BooleanIconListFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(javax.servlet.http.HttpServletRequest request, java.lang.Object booleanValue)From a object return aStringto render in HTML.java.lang.Objectparse(javax.servlet.http.HttpServletRequest request, java.lang.String string)From aStringobtained from a HTTP request return a java object.
-
-
-
Method Detail
-
format
public java.lang.String format(javax.servlet.http.HttpServletRequest request, java.lang.Object booleanValue)Description copied from interface:IFormatterFrom a object return aStringto render in HTML.- Specified by:
formatin interfaceIFormatter
-
parse
public java.lang.Object parse(javax.servlet.http.HttpServletRequest request, java.lang.String string)Description copied from interface:IFormatterFrom aStringobtained from a HTTP request return a java object.- Specified by:
parsein interfaceIFormatter
-
-