diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java index 6004404d98..613a5d51e1 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java @@ -174,78 +174,6 @@ public class WListItemRenderer implements ListitemRenderer, EventListener, Listi return; } - /** - * Obtain the foreground colour to be used for the specified field. - * - * @param table The table containing the affected field. - * @param row The row of the field for which the colour is wanted. - * @return The Color to be used. - */ -/* private Color getForegroundColour(WListbox table, int row) - { - Color fg = AdempierePLAF.getTextColor_Normal(); - - int colourCode = table.getColorCode(row); - // - if (colourCode == 0) - { - // Black - } - else if (colourCode < 0) - { - fg = AdempierePLAF.getTextColor_Issue(); // Red - } - else - { - fg = AdempierePLAF.getTextColor_OK(); // Blue - } - - // Highlighted row - if (table.isSelected) - { - //fg = table.getSelectionForeground(); - } - - return fg; - } -*/ - /** - * Obtain the background colour to be used for the specified field. - * - * @param table The table containing the affected field. - * @param row The row of the field for which the colour is wanted. - * @param column The column of the field for which the colour is wanted. - * @return The Color to be used. - */ -/* private Color getBackgroundColour(WListbox table, int row, int column) - { - - Color bg = AdempierePLAF.getFieldBackground_Normal(); - - boolean isCellReadOnly = !table.isCellEditable(row, column); - if (isCellReadOnly) - { - bg = AdempierePLAF.getFieldBackground_Inactive(); - if (isSelected && !hasFocus) - { - bg = bg.darker(); - } - } - - // Highlighted row - if (isSelected) - { - // Windows is white on blue - bg = table.getSelectionBackground(); - if (hasFocus) - { - bg = GraphUtil.brighter(bg, .9); - } - } - - return bg; - } -*/ /** * Generate the cell for the given field. *