Numworks Epsilon  1.4.1
Graphing Calculator Operating System
MathToolbox Class Reference

#include <math_toolbox.h>

Inheritance diagram for MathToolbox:
Toolbox StackViewController ListViewDataSource SelectableTableViewDataSource ViewController TableViewDataSource ScrollViewDataSource Responder Sequence::SequenceToolbox

Public Member Functions

 MathToolbox ()
 
- Public Member Functions inherited from Toolbox
 Toolbox (Responder *parentResponder, const char *title=0)
 
void setSender (Responder *sender)
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
virtual KDCoordinate rowHeight (int j) override
 
int numberOfRows () override
 
HighlightCellreusableCell (int index, int type) override
 
int reusableCellCount (int type) override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
int typeAtLocation (int i, int j) override
 
- Public Member Functions inherited from StackViewController
 StackViewController (Responder *parentResponder, ViewController *rootViewController, KDColor textColor=Palette::SubTab, KDColor backgroundColor=KDColorWhite, KDColor separatorColor=Palette::GreyBright)
 
void push (ViewController *vc, KDColor textColor=Palette::SubTab, KDColor backgroundColor=KDColorWhite, KDColor separatorColor=Palette::GreyBright)
 
void pop ()
 
int depth ()
 
Viewview () override
 
const char * title () override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
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)
 

Protected Member Functions

TextFieldsender () override
 
bool selectLeaf (ToolboxMessageTree *selectedMessageTree) override
 
const ToolboxMessageTreerootModel () override
 
MessageTableCellWithMessageleafCellAtIndex (int index) override
 
MessageTableCellWithChevronnodeCellAtIndex (int index) override
 
int maxNumberOfDisplayedRows () override
 
- Protected Member Functions inherited from Toolbox
int stackDepth ()
 
bool handleEventForRow (Ion::Events::Event event, int selectedRow)
 
bool selectSubMenu (ToolboxMessageTree *selectedMessageTree)
 
bool returnToPreviousMenu ()
 

Static Protected Attributes

static constexpr int k_maxNumberOfDisplayedRows = 6
 
- Static Protected Attributes inherited from Toolbox
static constexpr int LeafCellType = 0
 
static constexpr int NodeCellType = 1
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Protected Attributes inherited from Toolbox
SelectableTableView m_selectableTableView
 
Stack m_stack
 
ListController m_listController
 
ToolboxMessageTreem_messageTreeModel
 

Detailed Description

Definition at line 8 of file math_toolbox.h.

Constructor & Destructor Documentation

◆ MathToolbox()

MathToolbox::MathToolbox ( )

Definition at line 104 of file math_toolbox.cpp.

Member Function Documentation

◆ leafCellAtIndex()

MessageTableCellWithMessage * MathToolbox::leafCellAtIndex ( int  index)
overrideprotectedvirtual

Implements Toolbox.

Definition at line 127 of file math_toolbox.cpp.

◆ maxNumberOfDisplayedRows()

int MathToolbox::maxNumberOfDisplayedRows ( )
overrideprotectedvirtual

Implements Toolbox.

Definition at line 137 of file math_toolbox.cpp.

◆ nodeCellAtIndex()

MessageTableCellWithChevron * MathToolbox::nodeCellAtIndex ( int  index)
overrideprotectedvirtual

Implements Toolbox.

Definition at line 132 of file math_toolbox.cpp.

◆ rootModel()

const ToolboxMessageTree * MathToolbox::rootModel ( )
overrideprotectedvirtual

Implements Toolbox.

Definition at line 123 of file math_toolbox.cpp.

◆ selectLeaf()

bool MathToolbox::selectLeaf ( ToolboxMessageTree selectedMessageTree)
overrideprotectedvirtual

Implements Toolbox.

Definition at line 112 of file math_toolbox.cpp.

◆ sender()

TextField * MathToolbox::sender ( )
overrideprotectedvirtual

Reimplemented from Toolbox.

Definition at line 108 of file math_toolbox.cpp.

Member Data Documentation

◆ k_maxNumberOfDisplayedRows

constexpr int MathToolbox::k_maxNumberOfDisplayedRows = 6
staticprotected

Definition at line 18 of file math_toolbox.h.


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