Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Regression::CalculationController Class Reference

#include <calculation_controller.h>

Inheritance diagram for Regression::CalculationController:
Shared::TabTableController Shared::RegularTableViewDataSource SelectableTableViewDelegate ButtonRowDelegate AlternateEmptyViewDelegate DynamicViewController SelectableTableViewDataSource TableViewDataSource ViewController ScrollViewDataSource Responder

Public Member Functions

 CalculationController (Responder *parentResponder, ButtonRowController *header, Store *store)
 
 ~CalculationController ()
 
 CalculationController (const CalculationController &other)=delete
 
 CalculationController (CalculationController &&other)=delete
 
CalculationControlleroperator= (const CalculationController &other)=delete
 
CalculationControlleroperator= (CalculationController &&other)=delete
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void tableViewDidChangeSelection (SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) override
 
bool isEmpty () const override
 
I18n::Message emptyMessage () override
 
ResponderdefaultController () override
 
int numberOfRows () override
 
int numberOfColumns () override
 
void willDisplayCellAtLocation (HighlightCell *cell, int i, int j) override
 
KDCoordinate columnWidth (int i) override
 
KDCoordinate rowHeight (int j) override
 
HighlightCellreusableCell (int index, int type) override
 
int reusableCellCount (int type) override
 
int typeAtLocation (int i, int j) override
 
- Public Member Functions inherited from Shared::TabTableController
 TabTableController (Responder *parentResponder, TableViewDataSource *dataSource)
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
void willExitResponderChain (Responder *nextFirstResponder) override
 
- Public Member Functions inherited from DynamicViewController
 DynamicViewController (Responder *parentResponder)
 
 ~DynamicViewController ()
 
 DynamicViewController (const DynamicViewController &other)=delete
 
 DynamicViewController (DynamicViewController &&other)=delete
 
DynamicViewControlleroperator= (const DynamicViewController &other)=delete
 
DynamicViewControlleroperator= (DynamicViewController &&other)=delete
 
Viewview () override
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual DisplayParameter displayParameter ()
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- 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::RegularTableViewDataSource
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
KDCoordinate cumulatedWidthFromIndex (int i) override
 
int indexFromCumulatedWidth (KDCoordinate offsetX) override
 
- Public Member Functions inherited from ButtonRowDelegate
 ButtonRowDelegate (ButtonRowController *header, ButtonRowController *footer)
 
virtual int numberOfButtons (ButtonRowController::Position position) const
 
virtual ButtonbuttonAtIndex (int index, ButtonRowController::Position position) const
 
ButtonRowControllerheader ()
 
ButtonRowControllerfooter ()
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Protected Member Functions inherited from Shared::TabTableController
SelectableTableViewselectableTableView ()
 
void unloadView (View *view) override
 

Detailed Description

Definition at line 12 of file calculation_controller.h.

Constructor & Destructor Documentation

◆ CalculationController() [1/3]

Regression::CalculationController::CalculationController ( Responder parentResponder,
ButtonRowController header,
Store store 
)

Definition at line 14 of file calculation_controller.cpp.

◆ ~CalculationController()

Regression::CalculationController::~CalculationController ( )

Definition at line 27 of file calculation_controller.cpp.

◆ CalculationController() [2/3]

Regression::CalculationController::CalculationController ( const CalculationController other)
delete

◆ CalculationController() [3/3]

Regression::CalculationController::CalculationController ( CalculationController &&  other)
delete

Member Function Documentation

◆ columnWidth()

KDCoordinate Regression::CalculationController::columnWidth ( int  i)
overridevirtual

Implements TableViewDataSource.

Definition at line 176 of file calculation_controller.cpp.

◆ defaultController()

Responder * Regression::CalculationController::defaultController ( )
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 107 of file calculation_controller.cpp.

◆ didBecomeFirstResponder()

void Regression::CalculationController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 61 of file calculation_controller.cpp.

◆ emptyMessage()

I18n::Message Regression::CalculationController::emptyMessage ( )
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 103 of file calculation_controller.cpp.

◆ handleEvent()

bool Regression::CalculationController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 38 of file calculation_controller.cpp.

◆ isEmpty()

bool Regression::CalculationController::isEmpty ( ) const
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 96 of file calculation_controller.cpp.

◆ numberOfColumns()

int Regression::CalculationController::numberOfColumns ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 115 of file calculation_controller.cpp.

◆ numberOfRows()

int Regression::CalculationController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 111 of file calculation_controller.cpp.

◆ operator=() [1/2]

CalculationController& Regression::CalculationController::operator= ( const CalculationController other)
delete

◆ operator=() [2/2]

CalculationController& Regression::CalculationController::operator= ( CalculationController &&  other)
delete

◆ reusableCell()

HighlightCell * Regression::CalculationController::reusableCell ( int  index,
int  type 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 184 of file calculation_controller.cpp.

◆ reusableCellCount()

int Regression::CalculationController::reusableCellCount ( int  type)
overridevirtual

Implements TableViewDataSource.

Definition at line 208 of file calculation_controller.cpp.

◆ rowHeight()

KDCoordinate Regression::CalculationController::rowHeight ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 180 of file calculation_controller.cpp.

◆ tableViewDidChangeSelection()

void Regression::CalculationController::tableViewDidChangeSelection ( SelectableTableView t,
int  previousSelectedCellX,
int  previousSelectedCellY 
)
overridevirtual

Reimplemented from SelectableTableViewDelegate.

Definition at line 70 of file calculation_controller.cpp.

◆ title()

const char * Regression::CalculationController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 34 of file calculation_controller.cpp.

◆ typeAtLocation()

int Regression::CalculationController::typeAtLocation ( int  i,
int  j 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 224 of file calculation_controller.cpp.

◆ willDisplayCellAtLocation()

void Regression::CalculationController::willDisplayCellAtLocation ( HighlightCell cell,
int  i,
int  j 
)
overridevirtual

Reimplemented from TableViewDataSource.

Definition at line 119 of file calculation_controller.cpp.


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