Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Shared::LanguageController Class Reference

#include <language_controller.h>

Inheritance diagram for Shared::LanguageController:
ViewController SimpleListViewDataSource SelectableTableViewDataSource Responder ListViewDataSource ScrollViewDataSource TableViewDataSource OnBoarding::LanguageController Settings::LanguageController

Public Member Functions

 LanguageController (Responder *parentResponder, KDCoordinate topMargin)
 
void resetSelection ()
 
Viewview () override
 
const char * title () override
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
bool handleEvent (Ion::Events::Event event) override
 
int numberOfRows () 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 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 9 of file language_controller.h.

Constructor & Destructor Documentation

◆ LanguageController()

Shared::LanguageController::LanguageController ( Responder parentResponder,
KDCoordinate  topMargin 
)

Definition at line 8 of file language_controller.cpp.

Member Function Documentation

◆ cellHeight()

KDCoordinate Shared::LanguageController::cellHeight ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 53 of file language_controller.cpp.

◆ didBecomeFirstResponder()

void Shared::LanguageController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 33 of file language_controller.cpp.

◆ handleEvent()

bool Shared::LanguageController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 41 of file language_controller.cpp.

◆ numberOfRows()

int Shared::LanguageController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 49 of file language_controller.cpp.

◆ resetSelection()

void Shared::LanguageController::resetSelection ( )

Definition at line 19 of file language_controller.cpp.

◆ reusableCell()

HighlightCell * Shared::LanguageController::reusableCell ( int  index)
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 57 of file language_controller.cpp.

◆ reusableCellCount()

int Shared::LanguageController::reusableCellCount ( )
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 61 of file language_controller.cpp.

◆ title()

const char * Shared::LanguageController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 25 of file language_controller.cpp.

◆ view()

View * Shared::LanguageController::view ( )
overridevirtual

Implements ViewController.

Definition at line 29 of file language_controller.cpp.

◆ viewWillAppear()

void Shared::LanguageController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 37 of file language_controller.cpp.

◆ willDisplayCellForIndex()

void Shared::LanguageController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 65 of file language_controller.cpp.


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