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

#include <list_parameter_controller.h>

Inheritance diagram for Shared::ListParameterController:
ViewController SimpleListViewDataSource SelectableTableViewDataSource Responder ListViewDataSource ScrollViewDataSource TableViewDataSource Sequence::ListParameterController

Public Member Functions

 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
 
virtual void setFunction (Function *function)
 
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)
 

Protected Member Functions

bool handleEnterOnRow (int rowIndex)
 

Protected Attributes

SelectableTableView m_selectableTableView
 
FunctionStorem_functionStore
 
Functionm_function
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 

Detailed Description

Definition at line 11 of file list_parameter_controller.h.

Constructor & Destructor Documentation

◆ ListParameterController()

Shared::ListParameterController::ListParameterController ( Responder parentResponder,
FunctionStore functionStore,
I18n::Message  functionColorMessage,
I18n::Message  deleteFunctionMessage,
SelectableTableViewDelegate tableDelegate = nullptr 
)

Definition at line 6 of file list_parameter_controller.cpp.

Member Function Documentation

◆ cellHeight()

KDCoordinate Shared::ListParameterController::cellHeight ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 79 of file list_parameter_controller.cpp.

◆ didBecomeFirstResponder()

void Shared::ListParameterController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 27 of file list_parameter_controller.cpp.

◆ handleEnterOnRow()

bool Shared::ListParameterController::handleEnterOnRow ( int  rowIndex)
protected

Definition at line 83 of file list_parameter_controller.cpp.

◆ handleEvent()

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

Reimplemented from Responder.

Definition at line 53 of file list_parameter_controller.cpp.

◆ numberOfRows()

int Shared::ListParameterController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 60 of file list_parameter_controller.cpp.

◆ reusableCell()

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

Implements SimpleListViewDataSource.

Definition at line 64 of file list_parameter_controller.cpp.

◆ reusableCellCount()

int Shared::ListParameterController::reusableCellCount ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 75 of file list_parameter_controller.cpp.

◆ setFunction()

void Shared::ListParameterController::setFunction ( Function function)
virtual

Reimplemented in Sequence::ListParameterController.

Definition at line 48 of file list_parameter_controller.cpp.

◆ title()

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

Reimplemented from ViewController.

Definition at line 19 of file list_parameter_controller.cpp.

◆ view()

View * Shared::ListParameterController::view ( )
overridevirtual

Implements ViewController.

Definition at line 23 of file list_parameter_controller.cpp.

◆ viewWillAppear()

void Shared::ListParameterController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 31 of file list_parameter_controller.cpp.

◆ willDisplayCellForIndex()

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

Reimplemented from ListViewDataSource.

Definition at line 41 of file list_parameter_controller.cpp.

Member Data Documentation

◆ m_function

Function* Shared::ListParameterController::m_function
protected

Definition at line 30 of file list_parameter_controller.h.

◆ m_functionStore

FunctionStore* Shared::ListParameterController::m_functionStore
protected

Definition at line 29 of file list_parameter_controller.h.

◆ m_selectableTableView

SelectableTableView Shared::ListParameterController::m_selectableTableView
protected

Definition at line 28 of file list_parameter_controller.h.


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