org.pentaho.reporting.engine.classic.core.modules.output.table.xls.helper
Class XSSFExcelColorProducer
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.output.table.xls.helper.XSSFExcelColorProducer
- All Implemented Interfaces:
- ExcelColorProducer
public class XSSFExcelColorProducer
- extends Object
- implements ExcelColorProducer
Todo: Document me!
Date: 25.08.2010
Time: 17:06:37
- Author:
- Thomas Morgner.
Method Summary |
short |
getNearestColor(Color awtColor)
Returns the nearest indexed color for the palette (if palettes are used) or
-1 if no palette is used. |
XSSFExcelColorProducer
public XSSFExcelColorProducer()
getNearestColor
public short getNearestColor(Color awtColor)
- Description copied from interface:
ExcelColorProducer
- Returns the nearest indexed color for the palette (if palettes are used) or
-1 if no palette is used.
- Specified by:
getNearestColor
in interface ExcelColorProducer
- Returns: