org.knime.base.node.viz.histogram.util
Class IntervalBinCreator<E extends BinDataModel>
java.lang.Object
org.knime.base.node.viz.histogram.util.IntervalBinCreator<E>
- Type Parameters:
E
- the BinDataModel
implementation
- Direct Known Subclasses:
- FixedIntervalBinCreator, InteractiveIntervalBinCreator
public abstract class IntervalBinCreator<E extends BinDataModel>
- extends Object
This class is a helper class of the BinningUtil
class to create the
different BinDataModel
s for fixed and interactive histogram.
- Author:
- Tobias Koetter, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntervalBinCreator
public IntervalBinCreator()
createList
public abstract void createList(int noOfBins)
- Parameters:
noOfBins
- the number of bins that will be added
addBin
public abstract void addBin(String binCaption,
double lowerBound,
double upperBound)
- Parameters:
binCaption
- the caption of the new binlowerBound
- the left boundary of the binupperBound
- the right boundary of the bin
getBins
public abstract List<E> getBins()
- Returns:
- the bins that where created
createBins
public List<E> createBins(DataColumnSpec colSpec,
int numberOfBins)
- Parameters:
colSpec
- the column specificationnumberOfBins
- the number of bins to create
- Returns:
- the created bins
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.