Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Sequence::ListParameterController Class Reference

#include <list_parameter_controller.h>

Inheritance diagram for Sequence::ListParameterController:
Shared::ListParameterController SelectableTableViewDelegate Shared::ParameterTextFieldDelegate ViewController SimpleListViewDataSource SelectableTableViewDataSource Shared::TextFieldDelegate Responder ListViewDataSource ScrollViewDataSource TextFieldDelegate TableViewDataSource TextInputDelegate

Public Member Functions

 ListParameterController (ListController *list, SequenceStore *sequenceStore)
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void setFunction (Shared::Function *function) override
 
int numberOfRows () override
 
HighlightCellreusableCell (int index) override
 
int reusableCellCount () override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
bool textFieldShouldFinishEditing (TextField *textField, Ion::Events::Event event) override
 
bool textFieldDidFinishEditing (TextField *textField, const char *text, Ion::Events::Event event) override
 
void tableViewDidChangeSelection (SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) override
 
Shared::TextFieldDelegateApptextFieldDelegateApp () override
 
- Public Member Functions inherited from Shared::ListParameterController
 ListParameterController (Responder *parentResponder, FunctionStore *functionStore, I18n::Message functionColorMessage, I18n::Message deleteFunctionMessage, SelectableTableViewDelegate *tableDelegate=nullptr)
 
Viewview () override
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
int numberOfRows () override
 
KDCoordinate cellHeight () override
 
HighlightCellreusableCell (int index) override
 
int reusableCellCount () override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual void viewDidDisappear ()
 
virtual DisplayParameter displayParameter ()
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- Public Member Functions inherited from SimpleListViewDataSource
KDCoordinate rowHeight (int j) override
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
HighlightCellreusableCell (int index, int type) override
 
int reusableCellCount (int type) override
 
int typeAtLocation (int i, int j) override
 
- Public Member Functions inherited from ListViewDataSource
virtual KDCoordinate cellWidth ()
 
KDCoordinate columnWidth (int i) override
 
int numberOfColumns () override
 
void willDisplayCellAtLocation (HighlightCell *cell, int x, int y) override
 
int indexFromCumulatedWidth (KDCoordinate offsetX) override
 
KDCoordinate cumulatedWidthFromIndex (int i) override
 
- Public Member Functions inherited from SelectableTableViewDataSource
 SelectableTableViewDataSource ()
 
int selectedRow ()
 
int selectedColumn ()
 
void selectRow (int j)
 
void selectColumn (int i)
 
void selectCellAtLocation (int i, int j)
 
- Public Member Functions inherited from ScrollViewDataSource
 ScrollViewDataSource ()
 
KDPoint offset () const
 
bool setOffset (KDPoint offset)
 
- Public Member Functions inherited from Shared::ParameterTextFieldDelegate
bool textFieldDidReceiveEvent (TextField *textField, Ion::Events::Event event) override
 
- Public Member Functions inherited from Shared::TextFieldDelegate
bool textFieldShouldFinishEditing (TextField *textField, Ion::Events::Event event) override
 
bool textFieldDidReceiveEvent (TextField *textField, Ion::Events::Event event) override
 
ToolboxtoolboxForTextInput (TextInput *textInput) override
 
- Public Member Functions inherited from TextFieldDelegate
virtual bool textFieldDidAbortEditing (TextField *textField, const char *text)
 
virtual bool textFieldDidHandleEvent (TextField *textField, bool returnValue, bool textHasChanged)
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Protected Member Functions inherited from Shared::ListParameterController
bool handleEnterOnRow (int rowIndex)
 
- Protected Attributes inherited from Shared::ListParameterController
SelectableTableView m_selectableTableView
 
FunctionStorem_functionStore
 
Functionm_function
 

Detailed Description

Definition at line 14 of file list_parameter_controller.h.

Constructor & Destructor Documentation

◆ ListParameterController()

Sequence::ListParameterController::ListParameterController ( ListController list,
SequenceStore sequenceStore 
)

Definition at line 11 of file list_parameter_controller.cpp.

Member Function Documentation

◆ handleEvent()

bool Sequence::ListParameterController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 30 of file list_parameter_controller.cpp.

◆ numberOfRows()

int Sequence::ListParameterController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 76 of file list_parameter_controller.cpp.

◆ reusableCell()

HighlightCell * Sequence::ListParameterController::reusableCell ( int  index)
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 83 of file list_parameter_controller.cpp.

◆ reusableCellCount()

int Sequence::ListParameterController::reusableCellCount ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 98 of file list_parameter_controller.cpp.

◆ setFunction()

void Sequence::ListParameterController::setFunction ( Shared::Function function)
overridevirtual

Reimplemented from Shared::ListParameterController.

Definition at line 25 of file list_parameter_controller.cpp.

◆ tableViewDidChangeSelection()

void Sequence::ListParameterController::tableViewDidChangeSelection ( SelectableTableView t,
int  previousSelectedCellX,
int  previousSelectedCellY 
)
overridevirtual

Reimplemented from SelectableTableViewDelegate.

Definition at line 144 of file list_parameter_controller.cpp.

◆ textFieldDelegateApp()

TextFieldDelegateApp * Sequence::ListParameterController::textFieldDelegateApp ( )
overridevirtual

Implements Shared::TextFieldDelegate.

Definition at line 170 of file list_parameter_controller.cpp.

◆ textFieldDidFinishEditing()

bool Sequence::ListParameterController::textFieldDidFinishEditing ( TextField textField,
const char *  text,
Ion::Events::Event  event 
)
overridevirtual

Reimplemented from TextFieldDelegate.

Definition at line 123 of file list_parameter_controller.cpp.

◆ textFieldShouldFinishEditing()

bool Sequence::ListParameterController::textFieldShouldFinishEditing ( TextField textField,
Ion::Events::Event  event 
)
overridevirtual

Implements TextFieldDelegate.

Definition at line 119 of file list_parameter_controller.cpp.

◆ title()

const char * Sequence::ListParameterController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 21 of file list_parameter_controller.cpp.

◆ willDisplayCellForIndex()

void Sequence::ListParameterController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 102 of file list_parameter_controller.cpp.


The documentation for this class was generated from the following files: