org.pentaho.reporting.engine.classic.core.modules.output.table.xls.helper
Class XSSFExcelColorProducer

java.lang.Object
  extended by 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.

Constructor Summary
XSSFExcelColorProducer()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSSFExcelColorProducer

public XSSFExcelColorProducer()
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 interface ExcelColorProducer
Returns: