Numworks Epsilon  1.4.1
Graphing Calculator Operating System
prediction_parameter_controller.h
Go to the documentation of this file.
1 #ifndef REGRESSION_PREDICTION_PARAMETER_CONTROLLER_H
2 #define REGRESSION_PREDICTION_PARAMETER_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "store.h"
6 #include "../shared/curve_view_cursor.h"
8 
9 namespace Regression {
10 
11 class GraphController;
12 
14 public:
16  View * view() override;
17  const char * title() override;
18  bool handleEvent(Ion::Events::Event event) override;
19  void didBecomeFirstResponder() override;
20  int numberOfRows() override;
21  KDCoordinate cellHeight() override;
22  HighlightCell * reusableCell(int index) override;
23  int reusableCellCount() override;
24  void willDisplayCellForIndex(HighlightCell * cell, int index) override;
25 private:
26  constexpr static int k_totalNumberOfCells = 2;
27  MessageTableCellWithChevron m_cells[2];
28  SelectableTableView m_selectableTableView;
29  GoToParameterController m_goToParameterController;
30 };
31 
32 }
33 
34 #endif
bool handleEvent(Ion::Events::Event event) override
void willDisplayCellForIndex(HighlightCell *cell, int index) override
PredictionParameterController(Responder *parentResponder, Store *store, Shared::CurveViewCursor *cursor, GraphController *graphController)
int16_t KDCoordinate
Definition: coordinate.h:6
Responder * parentResponder() const
Definition: responder.cpp:12
Definition: view.h:23