org.knime.base.node.viz.pie.datamodel.interactive
Class InteractivePieVizModel
java.lang.Object
org.knime.base.node.viz.pie.datamodel.PieVizModel
org.knime.base.node.viz.pie.datamodel.interactive.InteractivePieVizModel
public class InteractivePieVizModel
- extends PieVizModel
This is the interactive implementation of the PieVizModel.
- Author:
- Tobias Koetter, University of Konstanz
| Methods inherited from class org.knime.base.node.viz.pie.datamodel.PieVizModel |
clearSelection, createLabel, createLabel, detailsAvailable, drawAntialias, drawSectionOutline, explodeSelectedSections, getAbsAggregationValue, getAggregationMethod, getCalculator, getDrawingSpace, getExplodedArea, getExplodeSize, getHTMLDetailData, getLabelArea, getLabelDisplayPolicy, getLabelLinkSize, getPieArea, getPieCenter, getPieSize, getSections2Draw, getSelectedElement, getSelectedKeys, getSelectedSections, getValueScale, hasMissingSection, selectElement, selectElement, setAggregationMethod, setDrawAntialias, setDrawingSpace, setDrawSectionOutline, setExplodeSelectedSections, setExplodeSize, setLabelDisplayPolicy, setPieSize, setShowDetails, setShowMissingValSection, setValueScale, showDetails, showMissingValSection, supportsHiliting, unHiliteAll, updateHiliteInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractivePieVizModel
public InteractivePieVizModel(InteractivePieDataModel model,
String pieColumn,
String aggrCol)
throws TooManySectionsException
- Constructor for class InteractivePieVizModel.
- Parameters:
model - the data modelpieColumn - the name of the pie columnaggrCol - the name of the aggregation column
- Throws:
TooManySectionsException - if more sections are created than
supported
setPieColumn
public boolean setPieColumn(String pieColName)
throws TooManySectionsException
- Parameters:
pieColName - the name of the pie column
- Returns:
true if the name has changed
- Throws:
TooManySectionsException - if more sections are created than
supported
getPieColumnName
public String getPieColumnName()
-
- Specified by:
getPieColumnName in class PieVizModel
- Returns:
- the name of the pie column
setAggrColumn
public boolean setAggrColumn(String aggrColName)
throws TooManySectionsException
- Parameters:
aggrColName - the optional name of the aggregation column
- Returns:
true if the name has changed
- Throws:
TooManySectionsException - if more sections are created than
supported
getAggregationColumnName
public String getAggregationColumnName()
-
- Specified by:
getAggregationColumnName in class PieVizModel
- Returns:
- the optional name of the aggregation column
getColSpec
public DataColumnSpec getColSpec(String colName)
- Parameters:
colName - the column name to get the spec for
- Returns:
- the
DataColumnSpec
getSections
protected List<PieSectionDataModel> getSections()
-
- Specified by:
getSections in class PieVizModel
- Returns:
- all data sections
getMissingSection
protected PieSectionDataModel getMissingSection()
-
- Specified by:
getMissingSection in class PieVizModel
- Returns:
- the missing value data section which could be empty
getTableSpec
public DataTableSpec getTableSpec()
- Returns:
- the
DataTableSpec of the input data
Copyright, 2003 - 2012. 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.