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

#include <law_controller.h>

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

Public Member Functions

 LawController (Responder *parentResponder, Law *m_law, ParametersController *parametersController)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
int numberOfRows () override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
KDCoordinate cellHeight () override
 
HighlightCellreusableCell (int index) override
 
int reusableCellCount () override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual const char * title ()
 
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)
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file law_controller.h.

Constructor & Destructor Documentation

◆ LawController()

Probability::LawController::LawController ( Responder parentResponder,
Law m_law,
ParametersController parametersController 
)

Definition at line 55 of file law_controller.cpp.

Member Function Documentation

◆ cellHeight()

KDCoordinate Probability::LawController::cellHeight ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 121 of file law_controller.cpp.

◆ didBecomeFirstResponder()

void Probability::LawController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 75 of file law_controller.cpp.

◆ handleEvent()

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

Reimplemented from Responder.

Definition at line 86 of file law_controller.cpp.

◆ numberOfRows()

int Probability::LawController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 96 of file law_controller.cpp.

◆ reusableCell()

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

Implements SimpleListViewDataSource.

Definition at line 100 of file law_controller.cpp.

◆ reusableCellCount()

int Probability::LawController::reusableCellCount ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 106 of file law_controller.cpp.

◆ view()

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

Implements ViewController.

Definition at line 67 of file law_controller.cpp.

◆ viewWillAppear()

void Probability::LawController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 71 of file law_controller.cpp.

◆ willDisplayCellForIndex()

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

Reimplemented from ListViewDataSource.

Definition at line 110 of file law_controller.cpp.


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