|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.NodeModel
org.knime.base.node.viz.pie.node.PieNodeModel<FixedPieVizModel>
org.knime.base.node.viz.pie.node.fixed.FixedPieNodeModel
public class FixedPieNodeModel
The NodeModel class of the fixed pie chart implementation.
| Field Summary |
|---|
| Fields inherited from class org.knime.base.node.viz.pie.node.PieNodeModel |
|---|
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 |
| Constructor Summary | |
|---|---|
protected |
FixedPieNodeModel()
The constructor. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.knime.base.node.viz.pie.node.PieNodeModel |
|---|
configure, execute, getAggregationColumnName, getPieColumnName, getVizModel, loadInternals, loadValidatedSettingsFrom, reset, saveInternals, saveSettingsTo, setAggregationColumnName, setPieColumnName, validateSettings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FixedPieNodeModel()
| Method Detail |
|---|
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 canceled
protected void savePieInternals(File dataDir,
ExecutionMonitor exec)
throws IOException,
CanceledExecutionException
savePieInternals in class PieNodeModel<FixedPieVizModel>dataDir - the directory to save toexec - the ExecutionMonitor
IOException - file exception
CanceledExecutionException - action was canceled
protected 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 ExecutionMonitorpieColSpec - the DataColumnSpec of the selected pie columnaggrColSpec - the DataColumnSpec of the selected
aggregation columndataTable - the DataTableSpecnoOfRows - the expected number of rowscontainsColorHandler - true if a color handler is set
CanceledExecutionException
TooManySectionsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||