org.knime.base.node.viz.histogram.datamodel
Class InteractiveBarElementDataModel

java.lang.Object
  extended by org.knime.base.node.viz.aggregation.AggregationValSubModel<Rectangle2D,Rectangle2D>
      extended by org.knime.base.node.viz.histogram.datamodel.BarElementDataModel
          extended by org.knime.base.node.viz.histogram.datamodel.InteractiveBarElementDataModel
All Implemented Interfaces:
Serializable, AggregationModel<Rectangle2D,Rectangle2D>

public class InteractiveBarElementDataModel
extends BarElementDataModel

This class extends the BarElementDataModel to support hiliting.

Author:
Tobias Koetter, University of Konstanz
See Also:
Serialized Form

Constructor Summary
protected InteractiveBarElementDataModel(Color color)
          Constructor for class BarElementDataModel.
 
Method Summary
 void updateElementWidth(int xCoord, int elementWidth, AbstractHistogramVizModel.HistogramHiliteCalculator calculator)
          
 
Methods inherited from class org.knime.base.node.viz.histogram.datamodel.BarElementDataModel
clone, getElementRectangle, loadFromFile, setRectangle
 
Methods inherited from class org.knime.base.node.viz.aggregation.AggregationValSubModel
addDataRow, calculateHilitedShape, clearHilite, getAggregationSum, getAggregationValue, getColor, getHilitedKeys, getHiliteRowCount, getHiliteShape, getKeys, getName, getRowCount, getShape, getValueCount, isEmpty, isHilited, isPresentable, isSelected, removeHilitedKeys, save2File, selectElement, selectElement, setHilitedKeys, setHiliteShape, setPresentable, setSelected, setShape, supportsHiliting
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveBarElementDataModel

protected InteractiveBarElementDataModel(Color color)
Constructor for class BarElementDataModel.

Parameters:
color - the color to use for this bar element
Method Detail

updateElementWidth

public void updateElementWidth(int xCoord,
                               int elementWidth,
                               AbstractHistogramVizModel.HistogramHiliteCalculator calculator)

Overrides:
updateElementWidth in class BarElementDataModel
Parameters:
xCoord - the new x coordinate
elementWidth - the new element width
calculator - the hilite shape calculator


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.