1 #ifndef SHARED_LIST_CONTROLLER_H 2 #define SHARED_LIST_CONTROLLER_H 43 virtual int functionIndexForRow(
int j);
44 virtual const char * textForRow(
int j);
45 virtual void addEmptyFunction();
46 virtual bool removeFunctionRow(
Function *
function) = 0;
49 virtual int maxNumberOfRows() = 0;
52 virtual void willDisplayTitleCellAtIndex(
HighlightCell * cell,
int j) = 0;
53 virtual void willDisplayExpressionCellAtIndex(
HighlightCell * cell,
int j) = 0;
55 I18n::Message m_addNewMessage;
int numberOfButtons(ButtonRowController::Position position) const override
void didBecomeFirstResponder() override
StackViewController * stackController() const
Responder * parentResponder() const
void tableViewDidChangeSelection(SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) override
void configureFunction(Function *function)
KDCoordinate columnWidth(int i) override
int indexFromCumulatedHeight(KDCoordinate offsetY) override
int reusableCellCount(int type) override
FunctionStore * m_functionStore
View * loadView() override
int numberOfColumns() override
void willExitResponderChain(Responder *nextFirstResponder) override
KDCoordinate cumulatedHeightFromIndex(int j) override
HighlightCell * reusableCell(int index, int type) override
Button * buttonAtIndex(int index, ButtonRowController::Position position) const override
void willDisplayCellAtLocation(HighlightCell *cell, int i, int j) override
int indexFromCumulatedWidth(KDCoordinate offsetX) override
ListController(Responder *parentResponder, FunctionStore *functionStore, ButtonRowController *header, ButtonRowController *footer, I18n::Message text)
void unloadView(View *view) override
SelectableTableView * selectableTableView()
int typeAtLocation(int i, int j) override
virtual void reinitExpression(Function *function)
bool handleEvent(Ion::Events::Event event) override
void didEnterResponderChain(Responder *previousFirstResponder) override
KDCoordinate cumulatedWidthFromIndex(int i) override