public class FixedPieNodeModel extends PieNodeModel<FixedPieVizModel>
AGGREGATION_COLUMN_FILTER, CFG_DATA_DIR_NAME, CFGKEY_AGGR_COLNAME, CFGKEY_AGGR_METHOD, CFGKEY_ALL_ROWS, CFGKEY_NO_OF_ROWS, CFGKEY_PIE_COLNAME, DEFAULT_NO_OF_ROWS, PIE_COLUMN_FILTER
Modifier | Constructor and Description |
---|---|
protected |
FixedPieNodeModel()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createModel(ExecutionContext exec,
DataColumnSpec pieColSpec,
DataColumnSpec aggrColSpec,
BufferedDataTable dataTable,
int noOfRows,
boolean containsColorHandler)
Called prior
#addDataRow(...) method to allow the
implementing class the specific model creation. |
protected FixedPieVizModel |
getVizModelInternal() |
protected void |
loadPieInternals(File dataDir,
ExecutionMonitor exec)
Loads the implementation internals.
|
protected void |
resetPieData()
Resets the implementation internal data.
|
protected void |
savePieInternals(File dataDir,
ExecutionMonitor exec)
Saves the implementation internal data.
|
configure, execute, getAggregationColumnName, getPieColumnName, getVizModel, loadInternals, loadValidatedSettingsFrom, reset, saveInternals, saveSettingsTo, setAggregationColumnName, setPieColumnName, validateSettings
addWarningListener, computeFinalOutputSpecs, configure, continueLoop, createInitialStreamableOperatorInternals, createMergeOperator, createStreamableOperator, execute, finishStreamableExecution, getAvailableFlowVariables, getAvailableInputFlowVariables, getCredentialsProvider, getInHiLiteHandler, getInPortType, getInputPortRoles, getInteractiveNodeView, getLogger, getLoopEndNode, getLoopStartNode, getNrInPorts, getNrOutPorts, getOutHiLiteHandler, getOutPortType, getOutputPortRoles, getWarningMessage, iterate, notifyViews, notifyWarningListeners, onDispose, peekFlowVariableDouble, peekFlowVariableInt, peekFlowVariableString, pushFlowVariableDouble, pushFlowVariableInt, pushFlowVariableString, removeWarningListener, resetAndConfigureLoopBody, setInHiLiteHandler, setWarningMessage, stateChanged
protected FixedPieVizModel getVizModelInternal()
getVizModelInternal
in class PieNodeModel<FixedPieVizModel>
PieVizModel
. Could be null.protected void resetPieData()
resetPieData
in class PieNodeModel<FixedPieVizModel>
protected void loadPieInternals(File dataDir, ExecutionMonitor exec) throws CanceledExecutionException
loadPieInternals
in class PieNodeModel<FixedPieVizModel>
dataDir
- the directory load load fromexec
- the ExecutionMonitor
CanceledExecutionException
- if action was canceledprotected void savePieInternals(File dataDir, ExecutionMonitor exec) throws IOException, CanceledExecutionException
savePieInternals
in class PieNodeModel<FixedPieVizModel>
dataDir
- the directory to save toexec
- the ExecutionMonitor
IOException
- file exceptionCanceledExecutionException
- action was canceledprotected void createModel(ExecutionContext exec, DataColumnSpec pieColSpec, DataColumnSpec aggrColSpec, BufferedDataTable dataTable, int noOfRows, boolean containsColorHandler) throws CanceledExecutionException, TooManySectionsException
#addDataRow(...)
method to allow the
implementing class the specific model creation.createModel
in class PieNodeModel<FixedPieVizModel>
exec
- the ExecutionMonitor
pieColSpec
- the DataColumnSpec
of the selected pie columnaggrColSpec
- the DataColumnSpec
of the selected
aggregation columndataTable
- the DataTableSpec
noOfRows
- the expected number of rowscontainsColorHandler
- true
if a color handler is setCanceledExecutionException
TooManySectionsException
KNIME GmbH, Konstanz, Germany
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.