org.knime.core.data.property
Interface ColorHandler.ColorModel

All Known Implementing Classes:
ColorModelNominal, ColorModelRange
Enclosing class:
ColorHandler

static interface ColorHandler.ColorModel

Interface allowing requests for ColorAttr by DataCell.


Method Summary
 ColorAttr getColorAttr(DataCell dc)
          Returns a ColorAttr for the given DataCell.
 void save(ConfigWO config)
          Saves this ColorModel to the given ConfigWO.
 

Method Detail

getColorAttr

ColorAttr getColorAttr(DataCell dc)
Returns a ColorAttr for the given DataCell.

Parameters:
dc - the DataCell to get the color for
Returns:
a ColorAttr object, but not null

save

void save(ConfigWO config)
Saves this ColorModel to the given ConfigWO.

Parameters:
config - used to save this ColorModel to


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.