Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Settings::MainController Class Reference

#include <main_controller.h>

Inheritance diagram for Settings::MainController:
ViewController ListViewDataSource SelectableTableViewDataSource Responder TableViewDataSource ScrollViewDataSource

Public Member Functions

 MainController (Responder *parentResponder)
 
 ~MainController ()
 
 MainController (const MainController &other)=delete
 
 MainController (MainController &&other)=delete
 
MainControlleroperator= (const MainController &other)=delete
 
MainControlleroperator= (MainController &&other)=delete
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
int numberOfRows () override
 
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
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
void viewWillAppear () 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 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 11 of file main_controller.h.

Constructor & Destructor Documentation

◆ MainController() [1/3]

Settings::MainController::MainController ( Responder parentResponder)

Definition at line 36 of file main_controller.cpp.

◆ ~MainController()

Settings::MainController::~MainController ( )

Definition at line 54 of file main_controller.cpp.

◆ MainController() [2/3]

Settings::MainController::MainController ( const MainController other)
delete

◆ MainController() [3/3]

Settings::MainController::MainController ( MainController &&  other)
delete

Member Function Documentation

◆ cumulatedHeightFromIndex()

KDCoordinate Settings::MainController::cumulatedHeightFromIndex ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 119 of file main_controller.cpp.

◆ didBecomeFirstResponder()

void Settings::MainController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 65 of file main_controller.cpp.

◆ handleEvent()

bool Settings::MainController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 72 of file main_controller.cpp.

◆ indexFromCumulatedHeight()

int Settings::MainController::indexFromCumulatedHeight ( KDCoordinate  offsetY)
overridevirtual

Implements TableViewDataSource.

Definition at line 123 of file main_controller.cpp.

◆ numberOfRows()

int Settings::MainController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 111 of file main_controller.cpp.

◆ operator=() [1/2]

MainController& Settings::MainController::operator= ( const MainController other)
delete

◆ operator=() [2/2]

MainController& Settings::MainController::operator= ( MainController &&  other)
delete

◆ reusableCell()

HighlightCell * Settings::MainController::reusableCell ( int  index,
int  type 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 127 of file main_controller.cpp.

◆ reusableCellCount()

int Settings::MainController::reusableCellCount ( int  type)
overridevirtual

Implements TableViewDataSource.

Definition at line 145 of file main_controller.cpp.

◆ rowHeight()

KDCoordinate Settings::MainController::rowHeight ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 115 of file main_controller.cpp.

◆ typeAtLocation()

int Settings::MainController::typeAtLocation ( int  i,
int  j 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 152 of file main_controller.cpp.

◆ view()

View * Settings::MainController::view ( )
overridevirtual

Implements ViewController.

Definition at line 61 of file main_controller.cpp.

◆ viewWillAppear()

void Settings::MainController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 221 of file main_controller.cpp.

◆ willDisplayCellForIndex()

void Settings::MainController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 167 of file main_controller.cpp.


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