org.knime.base.node.viz.pie.datamodel
Class PieSubSectionDataModel
java.lang.Object
org.knime.base.node.viz.aggregation.AggregationValSubModel<Arc2D,Arc2D>
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. |
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 |
PieSubSectionDataModel
protected PieSubSectionDataModel(Color color,
boolean supportHiliting)
- Constructor for class PieSubSectionDataModel.
- Parameters:
color
- the color of this elementsupportHiliting
- if hiliting is supported
setSubSection
public void setSubSection(Arc2D arc,
PieHiliteCalculator calculator)
- Parameters:
arc
- the arc of this sub sectioncalculator
- the hilite calculator
loadFromFile
public static PieSubSectionDataModel loadFromFile(Config config,
ExecutionMonitor exec)
throws CanceledExecutionException,
InvalidSettingsException
- Parameters:
config
- the config object to useexec
- 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.