Class CachingExcelColorSupport
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.xls.helper.CachingExcelColorSupport
-
- All Implemented Interfaces:
ExcelColorProducer
public class CachingExcelColorSupport extends Object implements ExcelColorProducer
-
-
Constructor Summary
Constructors Constructor Description CachingExcelColorSupport(ExcelColorProducer base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getNearestColor(Color awtColor)
Returns the nearest indexed color for the palette (if palettes are used) or -1 if no palette is used.
-
-
-
Constructor Detail
-
CachingExcelColorSupport
public CachingExcelColorSupport(ExcelColorProducer base)
-
-
Method Detail
-
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 interfaceExcelColorProducer
- Returns:
-
-