1 #ifndef REGRESSION_CALCULATION_CONTROLLER_H 2 #define REGRESSION_CALCULATION_CONTROLLER_H 7 #include "../shared/tab_table_controller.h" 8 #include "../shared/regular_table_view_data_source.h" 21 const char *
title()
override;
39 Responder * tabController()
const override;
40 View * loadView()
override;
41 void unloadView(
View *
view)
override;
42 constexpr
static int k_totalNumberOfRows = 14;
43 constexpr
static int k_totalNumberOfColumns = 2;
44 constexpr
static int k_maxNumberOfDisplayableRows = 11;
45 constexpr
static int k_totalNumberOfDoubleBufferRows = 5;
void didBecomeFirstResponder() override
int reusableCellCount(int type) override
static constexpr KDCoordinate CommonRightMargin
Responder * parentResponder() const
void tableViewDidChangeSelection(SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) override
KDCoordinate rowHeight(int j) override
const char * title() override
CalculationController & operator=(const CalculationController &other)=delete
bool isEmpty() const override
int numberOfRows() override
KDCoordinate columnWidth(int i) override
int numberOfColumns() override
static constexpr KDCoordinate CommonLeftMargin
HighlightCell * reusableCell(int index, int type) override
bool handleEvent(Ion::Events::Event event) override
void willDisplayCellAtLocation(HighlightCell *cell, int i, int j) override
I18n::Message emptyMessage() override
Responder * defaultController() override
int typeAtLocation(int i, int j) override
CalculationController(Responder *parentResponder, ButtonRowController *header, Store *store)