org.knime.base.node.viz.pie.datamodel
Class PieDataModel
java.lang.Object
org.knime.base.node.viz.pie.datamodel.PieDataModel
- Direct Known Subclasses:
- FixedPieDataModel, InteractivePieDataModel
public abstract class PieDataModel
- extends Object
The abstract pie data model which provides method to hold the data which
should be displayed as a pie chart.
- Author:
- Tobias Koetter, University of Konstanz
Constructor Summary |
protected |
PieDataModel(boolean supportHiliting,
boolean detailsAvailable)
Constructor for class AbstractPieDataModel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PieDataModel
protected PieDataModel(boolean supportHiliting,
boolean detailsAvailable)
- Constructor for class AbstractPieDataModel.
- Parameters:
supportHiliting
- if hiliting is supporteddetailsAvailable
- true
if details are available
createDefaultMissingSection
public static PieSectionDataModel createDefaultMissingSection(boolean supportHiliting)
- Creates the default missing section.
- Parameters:
supportHiliting
- true
if hiliting is supported
- Returns:
- the default missing section
setSectionColor
public static void setSectionColor(List<PieSectionDataModel> sections)
- Parameters:
sections
- the sections to set the color
sortSections
public static void sortSections(List<PieSectionDataModel> sections,
boolean numerical,
boolean ascending)
- Parameters:
sections
- the sections to sortnumerical
- if the pie column is numericalascending
- true
if the section should be ordered
in ascending order
supportsHiliting
public boolean supportsHiliting()
- Returns:
true
if hiliting is supported
detailsAvailable
public boolean detailsAvailable()
- Returns:
true
if details are available
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.