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

java.lang.Object
  extended by org.knime.base.node.viz.aggregation.AggregationValSubModel<Arc2D,Arc2D>
      extended by org.knime.base.node.viz.pie.datamodel.PieSubSectionDataModel
All Implemented Interfaces:
Serializable, AggregationModel<Arc2D,Arc2D>

public class PieSubSectionDataModel
extends AggregationValSubModel<Arc2D,Arc2D>

This class implements a sub section of a pie chart.

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

Constructor Summary
protected PieSubSectionDataModel(Color color, boolean supportHiliting)
          Constructor for class PieSubSectionDataModel.
 
Method Summary
static PieSubSectionDataModel loadFromFile(Config config, ExecutionMonitor exec)
           
 void setSubSection(Arc2D arc, PieHiliteCalculator calculator)
           
 
Methods inherited from class org.knime.base.node.viz.aggregation.AggregationValSubModel
addDataRow, calculateHilitedShape, clearHilite, clone, 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

PieSubSectionDataModel

protected PieSubSectionDataModel(Color color,
                                 boolean supportHiliting)
Constructor for class PieSubSectionDataModel.

Parameters:
color - the color of this element
supportHiliting - if hiliting is supported
Method Detail

setSubSection

public void setSubSection(Arc2D arc,
                          PieHiliteCalculator calculator)
Parameters:
arc - the arc of this sub section
calculator - the hilite calculator

loadFromFile

public static PieSubSectionDataModel loadFromFile(Config config,
                                                  ExecutionMonitor exec)
                                           throws CanceledExecutionException,
                                                  InvalidSettingsException
Parameters:
config - the config object to use
exec - the ExecutionMonitor to provide progress messages
Returns:
the loaded BarElementDataModel
Throws:
CanceledExecutionException - if the operation is canceled
InvalidSettingsException - if the config object is invalid


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.