org.knime.base.node.viz.histogram.datamodel
Class InteractiveBarElementDataModel
java.lang.Object
org.knime.base.node.viz.aggregation.AggregationValSubModel<Rectangle2D,Rectangle2D>
org.knime.base.node.viz.histogram.datamodel.BarElementDataModel
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
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 |
InteractiveBarElementDataModel
protected InteractiveBarElementDataModel(Color color)
- Constructor for class BarElementDataModel.
- Parameters:
color
- the color to use for this bar element
updateElementWidth
public void updateElementWidth(int xCoord,
int elementWidth,
AbstractHistogramVizModel.HistogramHiliteCalculator calculator)
-
- Overrides:
updateElementWidth
in class BarElementDataModel
- Parameters:
xCoord
- the new x coordinateelementWidth
- the new element widthcalculator
- 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.