2 #include "../apps_container.h" 3 #include "../constant.h" 12 EditableCellTableViewController::EditableCellTableViewController(
Responder * parentResponder) :
28 double floatBody = Expression::approximateToScalar<double>(text, *globalContext);
54 int numberOfModelElements = numberOfElements();
55 if (numberOfModelElements >= maxNumberOfElements()) {
56 return 1 + numberOfModelElements;
58 return 2 + numberOfModelElements;
72 if (cellAtLocationIsEditable(i, j)) {
void didBecomeFirstResponder() override
void willDisplayCellAtLocationWithDisplayMode(HighlightCell *cell, int i, int j, Poincare::PrintFloat::Mode mode)
virtual int numberOfColumns()=0
bool textFieldDidFinishEditing(TextField *textField, const char *text, Ion::Events::Event event) override
KDCoordinate rowHeight(int j) override
void setText(const char *text)
virtual void setEven(bool even)
size_t cursorLocation() const
int numberOfRows() override
bool selectCellAtLocation(int i, int j, bool setFirstResponder=true)
void didBecomeFirstResponder() override
void reloadData(bool setFirstResponder=true)
void displayWarning(I18n::Message warningMessage)
void reloadCellAtLocation(int i, int j)
Poincare::Context * globalContext()
static constexpr int LargeNumberOfSignificantDigits
void viewWillAppear() override
size_t draftTextLength() const
virtual bool handleEvent(Ion::Events::Event event) override
bool textFieldShouldFinishEditing(TextField *textField, Ion::Events::Event event) override
void selectCellAtLocation(int i, int j)
bool textFieldShouldFinishEditing(TextField *textField, Ion::Events::Event event) override
void viewWillAppear() override
SelectableTableView * selectableTableView()
EditableTextCell * editableTextCell()