Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Probability::CalculationTypeController Class Reference

#include <calculation_type_controller.h>

Inheritance diagram for Probability::CalculationTypeController:
ViewController SimpleListViewDataSource SelectableTableViewDataSource Responder ListViewDataSource ScrollViewDataSource TableViewDataSource

Public Member Functions

 CalculationTypeController (Responder *parentResponder, Law *law, Calculation *calculation, CalculationController *calculationController)
 
Viewview () override
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
void didBecomeFirstResponder () override
 
bool handleEvent (Ion::Events::Event event) override
 
int numberOfRows () override
 
KDCoordinate cellWidth () 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 const char * title ()
 
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
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)
 

Static Public Attributes

static constexpr int k_numberOfImages = 4
 

Additional Inherited Members

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

Detailed Description

Definition at line 13 of file calculation_type_controller.h.

Constructor & Destructor Documentation

◆ CalculationTypeController()

Probability::CalculationTypeController::CalculationTypeController ( Responder parentResponder,
Law law,
Calculation calculation,
CalculationController calculationController 
)

Definition at line 15 of file calculation_type_controller.cpp.

Member Function Documentation

◆ cellHeight()

KDCoordinate Probability::CalculationTypeController::cellHeight ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 74 of file calculation_type_controller.cpp.

◆ cellWidth()

KDCoordinate Probability::CalculationTypeController::cellWidth ( )
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 70 of file calculation_type_controller.cpp.

◆ didBecomeFirstResponder()

void Probability::CalculationTypeController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 42 of file calculation_type_controller.cpp.

◆ handleEvent()

bool Probability::CalculationTypeController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 46 of file calculation_type_controller.cpp.

◆ numberOfRows()

int Probability::CalculationTypeController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 63 of file calculation_type_controller.cpp.

◆ reusableCell()

HighlightCell * Probability::CalculationTypeController::reusableCell ( int  index)
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 78 of file calculation_type_controller.cpp.

◆ reusableCellCount()

int Probability::CalculationTypeController::reusableCellCount ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 84 of file calculation_type_controller.cpp.

◆ view()

View * Probability::CalculationTypeController::view ( )
overridevirtual

Implements ViewController.

Definition at line 29 of file calculation_type_controller.cpp.

◆ viewDidDisappear()

void Probability::CalculationTypeController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 38 of file calculation_type_controller.cpp.

◆ viewWillAppear()

void Probability::CalculationTypeController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 33 of file calculation_type_controller.cpp.

◆ willDisplayCellForIndex()

void Probability::CalculationTypeController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 88 of file calculation_type_controller.cpp.

Member Data Documentation

◆ k_numberOfImages

constexpr int Probability::CalculationTypeController::k_numberOfImages = 4
static

Definition at line 27 of file calculation_type_controller.h.


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