org.knime.base.node.viz.histogram.util
Class ColorColumn
java.lang.Object
org.knime.base.node.viz.histogram.util.ColorColumn
- All Implemented Interfaces:
- Serializable
public class ColorColumn
- extends Object
- implements Serializable
Holds the color for a given column name.
- Author:
- Tobias Koetter, University of Konstanz
- See Also:
- Serialized Form
ColorColumn
public ColorColumn(Color color,
String colName)
- Constructor for class ColorColumn.
- Parameters:
color
- the colorcolName
- the name of the column
getColor
public Color getColor()
- Returns:
- the color of the column
getColumnName
public String getColumnName()
- Returns:
- the name of the column
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
save2File
public void save2File(ConfigWO config,
ExecutionMonitor exec)
throws CanceledExecutionException
- Parameters:
config
- the config object to useexec
- the ExecutionMonitor
to provide progress messages
- Throws:
CanceledExecutionException
- if the operation is canceled
loadFromFile
public static ColorColumn loadFromFile(Config config,
ExecutionMonitor exec)
throws CanceledExecutionException,
InvalidSettingsException
- Parameters:
config
- the config object to useexec
- the ExecutionMonitor
to provide progress messages
- Returns:
- the
ColorColumn
- Throws:
CanceledExecutionException
- if the operation is canceled
InvalidSettingsException
- if the config object is invalid
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.