org.knime.base.node.viz.histogram.datamodel
Class AbstractHistogramVizModel.HistogramHiliteCalculator

java.lang.Object
  extended by org.knime.base.node.viz.histogram.datamodel.AbstractHistogramVizModel.HistogramHiliteCalculator
All Implemented Interfaces:
HiliteShapeCalculator<Rectangle2D,Rectangle2D>
Enclosing class:
AbstractHistogramVizModel

public class AbstractHistogramVizModel.HistogramHiliteCalculator
extends Object
implements HiliteShapeCalculator<Rectangle2D,Rectangle2D>

The histogram hilite shape calculator.

Author:
Tobias Koetter, University of Konstanz

Constructor Summary
protected AbstractHistogramVizModel.HistogramHiliteCalculator()
          Constructor for class HistogramHiliteCalculator.
 
Method Summary
 Rectangle2D calculateHiliteShape(AggregationValModel<AggregationValSubModel<Rectangle2D,Rectangle2D>,Rectangle2D,Rectangle2D> model)
          
 Rectangle2D calculateHiliteShape(AggregationValSubModel<Rectangle2D,Rectangle2D> model)
          
 AggregationMethod getAggrMethod()
           
 HistogramLayout getLayout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHistogramVizModel.HistogramHiliteCalculator

protected AbstractHistogramVizModel.HistogramHiliteCalculator()
Constructor for class HistogramHiliteCalculator.

Method Detail

getAggrMethod

public AggregationMethod getAggrMethod()
Returns:
the AggregationMethod

getLayout

public HistogramLayout getLayout()
Returns:
the HistogramLayout

calculateHiliteShape

public Rectangle2D calculateHiliteShape(AggregationValModel<AggregationValSubModel<Rectangle2D,Rectangle2D>,Rectangle2D,Rectangle2D> model)

Specified by:
calculateHiliteShape in interface HiliteShapeCalculator<Rectangle2D,Rectangle2D>
Parameters:
model - the model to calculate the hilite shape for
Returns:
the hilite shape

calculateHiliteShape

public Rectangle2D calculateHiliteShape(AggregationValSubModel<Rectangle2D,Rectangle2D> model)

Specified by:
calculateHiliteShape in interface HiliteShapeCalculator<Rectangle2D,Rectangle2D>
Parameters:
model - the model to calculate the hilite shape for
Returns:
the hilite shape


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.