org.knime.base.node.viz.pie.datamodel
Class PieHiliteCalculator

java.lang.Object
  extended by org.knime.base.node.viz.pie.datamodel.PieHiliteCalculator
All Implemented Interfaces:
HiliteShapeCalculator<Arc2D,Arc2D>

public class PieHiliteCalculator
extends Object
implements HiliteShapeCalculator<Arc2D,Arc2D>

The hilite calculator for the pie chart.

Author:
Tobias Koetter, University of Konstanz

Constructor Summary
protected PieHiliteCalculator(PieVizModel pieVizModel)
          Constructor for class PieHiliteCalculator.
 
Method Summary
 Arc2D calculateHiliteShape(AggregationValModel<AggregationValSubModel<Arc2D,Arc2D>,Arc2D,Arc2D> model)
          
 Arc2D calculateHiliteShape(AggregationValSubModel<Arc2D,Arc2D> model)
          
 AggregationMethod getAggrMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieHiliteCalculator

protected PieHiliteCalculator(PieVizModel pieVizModel)
Constructor for class PieHiliteCalculator.

Parameters:
pieVizModel - the PieVizModel to calculate the hilite info for
Method Detail

getAggrMethod

public AggregationMethod getAggrMethod()
Returns:
the current aggregation method

calculateHiliteShape

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

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

calculateHiliteShape

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

Specified by:
calculateHiliteShape in interface HiliteShapeCalculator<Arc2D,Arc2D>
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.