org.knime.base.node.viz.pie.datamodel.fixed
Class FixedPieVizModel

java.lang.Object
  extended by org.knime.base.node.viz.pie.datamodel.PieVizModel
      extended by org.knime.base.node.viz.pie.datamodel.fixed.FixedPieVizModel

public class FixedPieVizModel
extends PieVizModel

The pie chart visualization model which extends the PieVizModel class.

Author:
Tobias Koetter, University of Konstanz

Field Summary
 
Fields inherited from class org.knime.base.node.viz.pie.datamodel.PieVizModel
DEFAULT_EXPLODE_AREA_MARGIN, DEFAULT_PIE_SIZE, LABEL_AREA_MARGIN, MAXIMUM_EXPLODE_SIZE, MAXIMUM_PIE_SIZE, MINIMUM_ARC_ANGLE, MINIMUM_EXPLODE_SIZE, MINIMUM_PIE_SIZE, MISSING_VAL_SECTION_CAPTION, MISSING_VAL_SECTION_COLOR
 
Constructor Summary
FixedPieVizModel(String pieCol, String aggrCol, List<PieSectionDataModel> sections, PieSectionDataModel missingSection, boolean supportHiliting, boolean containsColorHandler)
          Constructor for class PieVizModel.
 
Method Summary
 String getAggregationColumnName()
          
protected  PieSectionDataModel getMissingSection()
          
 String getPieColumnName()
          
protected  List<PieSectionDataModel> getSections()
          
 
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
 

Constructor Detail

FixedPieVizModel

public FixedPieVizModel(String pieCol,
                        String aggrCol,
                        List<PieSectionDataModel> sections,
                        PieSectionDataModel missingSection,
                        boolean supportHiliting,
                        boolean containsColorHandler)
Constructor for class PieVizModel.

Parameters:
pieCol - the pie column name
aggrCol - the optional aggregation column name
sections - the sections
missingSection - the optional missing section
supportHiliting - true if hiliting should be supported
containsColorHandler - true if a color handler is set
Method Detail

getPieColumnName

public String getPieColumnName()

Specified by:
getPieColumnName in class PieVizModel
Returns:
the name of the pie column

getAggregationColumnName

public String getAggregationColumnName()

Specified by:
getAggregationColumnName in class PieVizModel
Returns:
the optional name of the aggregation column

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


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.