Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Calculation::HistoryController Class Reference

#include <history_controller.h>

Inheritance diagram for Calculation::HistoryController:
DynamicViewController ListViewDataSource SelectableTableViewDataSource SelectableTableViewDelegate ViewController TableViewDataSource ScrollViewDataSource Responder

Public Member Functions

 HistoryController (Responder *parentResponder, CalculationStore *calculationStore)
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void willExitResponderChain (Responder *nextFirstResponder) override
 
void reload ()
 
int numberOfRows () override
 
HighlightCellreusableCell (int index, int type) override
 
int reusableCellCount (int type) override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
KDCoordinate rowHeight (int j) override
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
int typeAtLocation (int i, int j) override
 
void tableViewDidChangeSelection (SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) override
 
void scrollToCell (int i, int j)
 
ViewloadView () override
 
void unloadView (View *view) override
 
- Public Member Functions inherited from DynamicViewController
 DynamicViewController (Responder *parentResponder)
 
 ~DynamicViewController ()
 
 DynamicViewController (const DynamicViewController &other)=delete
 
 DynamicViewController (DynamicViewController &&other)=delete
 
DynamicViewControlleroperator= (const DynamicViewController &other)=delete
 
DynamicViewControlleroperator= (DynamicViewController &&other)=delete
 
Viewview () override
 
void viewWillAppear () override
 
void viewDidDisappear () 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)
 
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 14 of file history_controller.h.

Constructor & Destructor Documentation

◆ HistoryController()

Calculation::HistoryController::HistoryController ( Responder parentResponder,
CalculationStore calculationStore 
)

Definition at line 8 of file history_controller.cpp.

Member Function Documentation

◆ cumulatedHeightFromIndex()

KDCoordinate Calculation::HistoryController::cumulatedHeightFromIndex ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 174 of file history_controller.cpp.

◆ didBecomeFirstResponder()

void Calculation::HistoryController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 19 of file history_controller.cpp.

◆ handleEvent()

bool Calculation::HistoryController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 30 of file history_controller.cpp.

◆ indexFromCumulatedHeight()

int Calculation::HistoryController::indexFromCumulatedHeight ( KDCoordinate  offsetY)
overridevirtual

Implements TableViewDataSource.

Definition at line 182 of file history_controller.cpp.

◆ loadView()

View * Calculation::HistoryController::loadView ( )
overridevirtual

Implements DynamicViewController.

Definition at line 203 of file history_controller.cpp.

◆ numberOfRows()

int Calculation::HistoryController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 133 of file history_controller.cpp.

◆ reload()

void Calculation::HistoryController::reload ( )

Definition at line 15 of file history_controller.cpp.

◆ reusableCell()

HighlightCell * Calculation::HistoryController::reusableCell ( int  index,
int  type 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 137 of file history_controller.cpp.

◆ reusableCellCount()

int Calculation::HistoryController::reusableCellCount ( int  type)
overridevirtual

Implements TableViewDataSource.

Definition at line 144 of file history_controller.cpp.

◆ rowHeight()

KDCoordinate Calculation::HistoryController::rowHeight ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 156 of file history_controller.cpp.

◆ scrollToCell()

void Calculation::HistoryController::scrollToCell ( int  i,
int  j 
)

Definition at line 195 of file history_controller.cpp.

◆ tableViewDidChangeSelection()

void Calculation::HistoryController::tableViewDidChangeSelection ( SelectableTableView t,
int  previousSelectedCellX,
int  previousSelectedCellY 
)
overridevirtual

Reimplemented from SelectableTableViewDelegate.

Definition at line 117 of file history_controller.cpp.

◆ typeAtLocation()

int Calculation::HistoryController::typeAtLocation ( int  i,
int  j 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 191 of file history_controller.cpp.

◆ unloadView()

void Calculation::HistoryController::unloadView ( View view)
overridevirtual

Implements DynamicViewController.

Definition at line 211 of file history_controller.cpp.

◆ willDisplayCellForIndex()

void Calculation::HistoryController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 149 of file history_controller.cpp.

◆ willExitResponderChain()

void Calculation::HistoryController::willExitResponderChain ( Responder nextFirstResponder)
overridevirtual

Reimplemented from Responder.

Definition at line 24 of file history_controller.cpp.


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