1 #ifndef SHARED_VALUES_CONTROLLER_H 2 #define SHARED_VALUES_CONTROLLER_H 19 const char *
title()
override;
55 virtual Function * functionAtColumn(
int i);
56 Responder * tabController()
const override;
57 void configureAbscissa();
58 void configureFunction();
59 bool cellAtLocationIsEditable(
int columnIndex,
int rowIndex)
override;
60 double dataAtLocation(
int columnIndex,
int rowIndex)
override;
61 int numberOfElements()
override;
62 int maxNumberOfElements()
const override;
63 virtual double evaluationOfAbscissaAtColumn(
double abscissa,
int columnIndex);
64 constexpr
static int k_maxNumberOfAbscissaCells = 10;
65 virtual int maxNumberOfCells() = 0;
66 virtual int maxNumberOfFunctions() = 0;
75 Button m_setIntervalButton;
bool isEmpty() const override
int typeAtLocation(int i, int j) override
static constexpr KDCoordinate k_bottomMargin
View * loadView() override
KDCoordinate cumulatedWidthFromIndex(int i) override
static constexpr int maxBufferSize()
void didBecomeFirstResponder() override
StackViewController * stackController() const
int numberOfButtons(ButtonRowController::Position) const override
Responder * parentResponder() const
int numberOfColumns() override
virtual void willDisplayCellAtLocation(HighlightCell *cell, int i, int j) override
static constexpr KDCoordinate k_abscissaCellWidth
ValuesController(Responder *parentResponder, ButtonRowController *header, I18n::Message parameterTitle, IntervalParameterController *intervalParameterController, Interval *interval)
HighlightCell * reusableCell(int index, int type) override
Responder * defaultController() override
bool setDataAtLocation(double floatBody, int columnIndex, int rowIndex) override
static constexpr KDCoordinate k_topMargin
virtual bool handleEvent(Ion::Events::Event event) override
Button * buttonAtIndex(int index, ButtonRowController::Position position) const override
int reusableCellCount(int type) override
void willExitResponderChain(Responder *nextFirstResponder) override
virtual IntervalParameterController * intervalParameterController()=0
KDCoordinate columnWidth(int i) override
static constexpr KDCoordinate k_leftMargin
const char * title() override
virtual void updateNumberOfColumns()
void viewDidDisappear() override
bool m_numberOfColumnsNeedUpdate
static constexpr KDCoordinate k_ordinateCellWidth
static constexpr KDCoordinate k_rightMargin
void unloadView(View *view) override
int indexFromCumulatedWidth(KDCoordinate offsetX) override
void viewWillAppear() override