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

#include <calculation_controller.h>

Inheritance diagram for Statistics::CalculationController:
Shared::TabTableController ButtonRowDelegate TableViewDataSource AlternateEmptyViewDelegate DynamicViewController SelectableTableViewDataSource ViewController ScrollViewDataSource Responder

Public Member Functions

 CalculationController (Responder *parentResponder, ButtonRowController *header, Store *store)
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () 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
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
KDCoordinate cumulatedWidthFromIndex (int i) override
 
int indexFromCumulatedWidth (KDCoordinate offsetX) 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 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 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 ()
 

Detailed Description

Definition at line 10 of file calculation_controller.h.

Constructor & Destructor Documentation

◆ CalculationController()

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

Definition at line 13 of file calculation_controller.cpp.

Member Function Documentation

◆ columnWidth()

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

Implements TableViewDataSource.

Definition at line 92 of file calculation_controller.cpp.

◆ cumulatedHeightFromIndex()

KDCoordinate Statistics::CalculationController::cumulatedHeightFromIndex ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 111 of file calculation_controller.cpp.

◆ cumulatedWidthFromIndex()

KDCoordinate Statistics::CalculationController::cumulatedWidthFromIndex ( int  i)
overridevirtual

Implements TableViewDataSource.

Definition at line 103 of file calculation_controller.cpp.

◆ defaultController()

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

Implements AlternateEmptyViewDelegate.

Definition at line 60 of file calculation_controller.cpp.

◆ didBecomeFirstResponder()

void Statistics::CalculationController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Shared::TabTableController.

Definition at line 40 of file calculation_controller.cpp.

◆ emptyMessage()

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

Implements AlternateEmptyViewDelegate.

Definition at line 56 of file calculation_controller.cpp.

◆ handleEvent()

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

Reimplemented from Responder.

Definition at line 26 of file calculation_controller.cpp.

◆ indexFromCumulatedHeight()

int Statistics::CalculationController::indexFromCumulatedHeight ( KDCoordinate  offsetY)
overridevirtual

Implements TableViewDataSource.

Definition at line 124 of file calculation_controller.cpp.

◆ indexFromCumulatedWidth()

int Statistics::CalculationController::indexFromCumulatedWidth ( KDCoordinate  offsetX)
overridevirtual

Implements TableViewDataSource.

Definition at line 115 of file calculation_controller.cpp.

◆ isEmpty()

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

Implements AlternateEmptyViewDelegate.

Definition at line 49 of file calculation_controller.cpp.

◆ numberOfColumns()

int Statistics::CalculationController::numberOfColumns ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 68 of file calculation_controller.cpp.

◆ numberOfRows()

int Statistics::CalculationController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 64 of file calculation_controller.cpp.

◆ reusableCell()

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

Implements TableViewDataSource.

Definition at line 128 of file calculation_controller.cpp.

◆ reusableCellCount()

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

Implements TableViewDataSource.

Definition at line 136 of file calculation_controller.cpp.

◆ rowHeight()

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

Implements TableViewDataSource.

Definition at line 99 of file calculation_controller.cpp.

◆ title()

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

Reimplemented from ViewController.

Definition at line 22 of file calculation_controller.cpp.

◆ typeAtLocation()

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

Implements TableViewDataSource.

Definition at line 140 of file calculation_controller.cpp.

◆ willDisplayCellAtLocation()

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

Reimplemented from TableViewDataSource.

Definition at line 72 of file calculation_controller.cpp.


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