1 #ifndef PROBABILITY_LAW_CONTROLLER_H 2 #define PROBABILITY_LAW_CONTROLLER_H 25 class ContentView :
public View {
30 int numberOfSubviews()
const override;
31 View * subviewAtIndex(
int index)
override;
32 void layoutSubviews()
override;
36 void setLawAccordingToIndex(
int index);
37 constexpr
static int k_totalNumberOfModels = 5;
38 Cell m_cells[k_totalNumberOfModels];
40 ContentView m_contentView;
41 I18n::Message * m_messages;
KDCoordinate cellHeight() override
LawController(Responder *parentResponder, Law *m_law, ParametersController *parametersController)
Responder * parentResponder() const
void didBecomeFirstResponder() override
bool handleEvent(Ion::Events::Event event) override
int numberOfRows() override
int reusableCellCount() override
void willDisplayCellForIndex(HighlightCell *cell, int index) override
HighlightCell * reusableCell(int index) override
void viewWillAppear() override