Class BooleanCellRenderer
- java.lang.Object
-
- de.hybris.platform.cockpit.model.listview.impl.BooleanCellRenderer
-
- All Implemented Interfaces:
CellRenderer
public class BooleanCellRenderer extends java.lang.Object implements CellRenderer
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBOOLEAN_FALSE_IMGprotected static java.lang.StringBOOLEAN_NULL_IMGprotected static java.lang.StringBOOLEAN_TRUE_IMG
-
Constructor Summary
Constructors Constructor Description BooleanCellRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrender(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)Renders the cell content of the cell at position (colIndex,rowIndex).
-
-
-
Field Detail
-
BOOLEAN_TRUE_IMG
protected static final java.lang.String BOOLEAN_TRUE_IMG
- See Also:
- Constant Field Values
-
BOOLEAN_FALSE_IMG
protected static final java.lang.String BOOLEAN_FALSE_IMG
- See Also:
- Constant Field Values
-
BOOLEAN_NULL_IMG
protected static final java.lang.String BOOLEAN_NULL_IMG
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
Description copied from interface:CellRendererRenders the cell content of the cell at position (colIndex,rowIndex).- Specified by:
renderin interfaceCellRenderer- Parameters:
model- the underlying table model containing information about the cell that is to be renderedcolIndex- zero based column index of the cell to be renderedrowIndex- zero based row index of the cell to be renderedparent- the parent component that will contain the view components created by the renderer
-
-