// button
// resultsTablePane =
// PeriodAnalysisComponentFactory.createDataTable(
// columns, algorithm.getResultSeries(), algorithm);
PeriodAnalysisDataTableModel resultsModel = new PeriodAnalysisDataTableModel(
columns, algorithm.getResultSeries());
resultsTablePane = new NoModelPeriodAnalysisDataTablePane(
resultsModel, algorithm);
// Note: algorithm won't be used (?) in this case but we must pass
// it along. TODO: how do we get top hit squares? See what DCDFT
// does.
// TODO: subclass PeriodAnalysisTopHitsTablePane to have no model
// button
// topHitsTablePane =
// PeriodAnalysisComponentFactory.createDataTable(
// columns, algorithm.getTopHits(), algorithm);
PeriodAnalysisDataTableModel topHitsModel = new PeriodAnalysisDataTableModel(
columns, algorithm.getTopHits());
topHitsTablePane = new NoModelPeriodAnalysisTopHitsTablePane(
topHitsModel, resultsModel, algorithm);
// Return tabbed pane of plot and period display component.