| java.lang.Object dinamica.formatters.AltCellColor
AltCellColor | public class AltCellColor implements IFormatPlugin(Code) | | Generic formatter that returns a color name
depending on the row position (even or odd).
The column name should represent column that
would contain the color value, most of the time it
may contain a null value. If it does contain a non-null value, then
this value will be returned and the even/odd rule will be ignored.
The [args] argument should contain the name of two colors, separated by comma. Example:
{fld:MyColName@class:dinamica.formatters.AltCellColor(cyan, white)}
This field marker could be placed into a style attribute, in order
to change the background color of a cell. It was designed to be used
with HGrids (Horizontal grid outputs) to create the alternate cell color effect,
much like the alternate row effect already present in regular grid/table presentations.
Creation date: 09/07/2005
(c) 2005 Martin Cordova
This code is released under the LGPL license
Dinamica Framework - http://www.martincordova.com
author: Martin Cordova (dinamica@martincordova.com) |
|
|