1 #ifndef PROBABILITY_PARAMETERS_CONTROLLER_H 2 #define PROBABILITY_PARAMETERS_CONTROLLER_H 5 #include "../shared/float_parameter_controller.h" 14 const char *
title()
override;
22 HighlightCell * reusableParameterCell(
int index,
int type)
override;
23 int reusableParameterCellCount(
int type)
override;
24 void buttonAction()
override;
25 double parameterAtIndex(
int index)
override;
26 bool setParameterAtIndex(
int parameterIndex,
double f)
override;
28 I18n::Message okButtonText()
override;
29 View * loadView()
override;
30 void unloadView(
View *
view)
override;
31 class ContentView :
public View {
36 void layoutSubviews()
override;
37 void setNumberOfParameters(
int numberOfParameters);
41 int numberOfSubviews()
const override;
42 View * subviewAtIndex(
int index)
override;
43 int m_numberOfParameters;
50 ContentView * contentView();
52 constexpr
static int k_maxNumberOfCells = 2;
bool handleEvent(Ion::Events::Event event) override
Responder * parentResponder() const
void willDisplayCellForIndex(HighlightCell *cell, int index) override
int numberOfRows() override
ParametersController(Responder *parentResponder, Law *m_law, CalculationController *calculationController)
void didBecomeFirstResponder() override
const char * title() override
void viewWillAppear() override
static constexpr int k_bufferLength