Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Home::Controller Class Reference

#include <controller.h>

Inheritance diagram for Home::Controller:
ViewController SimpleTableViewDataSource SelectableTableViewDelegate Responder TableViewDataSource

Public Member Functions

 Controller (Responder *parentResponder, ::AppsContainer *container, SelectableTableViewDataSource *selectionDataSource)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
virtual int numberOfRows () override
 
virtual int numberOfColumns () override
 
virtual KDCoordinate cellHeight () override
 
virtual KDCoordinate cellWidth () override
 
virtual HighlightCellreusableCell (int index) override
 
virtual int reusableCellCount () override
 
void willDisplayCellAtLocation (HighlightCell *cell, int i, int j) override
 
void tableViewDidChangeSelection (SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) 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 SimpleTableViewDataSource
KDCoordinate columnWidth (int i) override
 
KDCoordinate rowHeight (int j) override
 
KDCoordinate cumulatedWidthFromIndex (int i) override
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedWidth (KDCoordinate offsetX) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
HighlightCellreusableCell (int index, int type) override
 
int reusableCellCount (int type) override
 
int typeAtLocation (int i, int j) override
 

Additional Inherited Members

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

Detailed Description

Definition at line 11 of file controller.h.

Constructor & Destructor Documentation

◆ Controller()

Home::Controller::Controller ( Responder parentResponder,
::AppsContainer container,
SelectableTableViewDataSource selectionDataSource 
)

Definition at line 46 of file controller.cpp.

Member Function Documentation

◆ cellHeight()

KDCoordinate Home::Controller::cellHeight ( )
overridevirtual

Implements SimpleTableViewDataSource.

Definition at line 91 of file controller.cpp.

◆ cellWidth()

KDCoordinate Home::Controller::cellWidth ( )
overridevirtual

Implements SimpleTableViewDataSource.

Definition at line 95 of file controller.cpp.

◆ didBecomeFirstResponder()

void Home::Controller::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 67 of file controller.cpp.

◆ handleEvent()

bool Home::Controller::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 54 of file controller.cpp.

◆ numberOfColumns()

int Home::Controller::numberOfColumns ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 87 of file controller.cpp.

◆ numberOfRows()

int Home::Controller::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 83 of file controller.cpp.

◆ reusableCell()

HighlightCell * Home::Controller::reusableCell ( int  index)
overridevirtual

Implements SimpleTableViewDataSource.

Definition at line 99 of file controller.cpp.

◆ reusableCellCount()

int Home::Controller::reusableCellCount ( )
overridevirtual

Implements SimpleTableViewDataSource.

Definition at line 103 of file controller.cpp.

◆ tableViewDidChangeSelection()

void Home::Controller::tableViewDidChangeSelection ( SelectableTableView t,
int  previousSelectedCellX,
int  previousSelectedCellY 
)
overridevirtual

Reimplemented from SelectableTableViewDelegate.

Definition at line 124 of file controller.cpp.

◆ view()

View * Home::Controller::view ( )
overridevirtual

Implements ViewController.

Definition at line 79 of file controller.cpp.

◆ viewWillAppear()

void Home::Controller::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 76 of file controller.cpp.

◆ willDisplayCellAtLocation()

void Home::Controller::willDisplayCellAtLocation ( HighlightCell cell,
int  i,
int  j 
)
overridevirtual

Reimplemented from TableViewDataSource.

Definition at line 107 of file controller.cpp.


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