8 m_selectableTableView(this, this, this, tableDelegate),
9 m_functionStore(functionStore),
11 #if FUNCTION_COLOR_CHOICE
12 m_colorCell(functionColorMessage),
14 m_enableCell(
I18n::Message::ActivateDesactivate),
15 m_deleteCell(deleteFunctionMessage)
42 if (cell == &m_enableCell) {
61 return k_totalNumberOfCell;
66 assert(index < k_totalNumberOfCell);
67 #if FUNCTION_COLOR_CHOICE 68 HighlightCell * cells[] = {&m_colorCell, &m_enableCell, &m_deleteCell};
76 return k_totalNumberOfCell;
85 #if FUNCTION_COLOR_CHOICE 96 #if FUNCTION_COLOR_CHOICE virtual void setContent(const char *c)
View * accessoryView() const override
FunctionStore * m_functionStore
int reusableCellCount() override
bool handleEnterOnRow(int rowIndex)
HighlightCell * reusableCell(int index) override
SelectableTableView m_selectableTableView
Responder * parentResponder() const
ListParameterController(Responder *parentResponder, FunctionStore *functionStore, I18n::Message functionColorMessage, I18n::Message deleteFunctionMessage, SelectableTableViewDelegate *tableDelegate=nullptr)
void reloadData(bool setFirstResponder=true)
KDCoordinate cellHeight() override
int numberOfRows() override
enum Message uint16_t enum Language uint16_t const char * translate(Message m, Language l=(Language) 0)
void setActive(bool active)
virtual Function * definedFunctionAtIndex(int i)
void displayWarning(I18n::Message warningMessage)
virtual void viewWillAppear()
const char * title() override
static constexpr KDCoordinate ParameterCellHeight
void willDisplayCellForIndex(HighlightCell *cell, int index) override
void setFirstResponder(Responder *responder)
int numberOfDefinedFunctions()
void selectCellAtLocation(int i, int j)
void setState(bool state)
void didBecomeFirstResponder() override
bool handleEvent(Ion::Events::Event event) override
virtual void removeFunction(Function *f)=0
virtual void setFunction(Function *function)
void viewWillAppear() override