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

#include <sub_controller.h>

Inheritance diagram for Settings::SubController:
ViewController ListViewDataSource SelectableTableViewDataSource Shared::ParameterTextFieldDelegate Responder TableViewDataSource ScrollViewDataSource Shared::TextFieldDelegate TextFieldDelegate TextInputDelegate

Public Member Functions

 SubController (Responder *parentResponder)
 
 ~SubController ()
 
 SubController (const SubController &other)=delete
 
 SubController (SubController &&other)=delete
 
SubControlleroperator= (const SubController &other)=delete
 
SubControlleroperator= (SubController &&other)=delete
 
Viewview () override
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didEnterResponderChain (Responder *previousFirstResponder) 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 setMessageTreeModel (const MessageTree *messageTreeModel)
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
bool textFieldShouldFinishEditing (TextField *textField, Ion::Events::Event event) override
 
bool textFieldDidFinishEditing (TextField *textField, const char *text, Ion::Events::Event event) 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 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)
 
- Public Member Functions inherited from Shared::ParameterTextFieldDelegate
bool textFieldDidReceiveEvent (TextField *textField, Ion::Events::Event event) override
 
- Public Member Functions inherited from Shared::TextFieldDelegate
bool textFieldShouldFinishEditing (TextField *textField, Ion::Events::Event event) override
 
bool textFieldDidReceiveEvent (TextField *textField, Ion::Events::Event event) override
 
ToolboxtoolboxForTextInput (TextInput *textInput) override
 
- Public Member Functions inherited from TextFieldDelegate
virtual bool textFieldDidAbortEditing (TextField *textField, const char *text)
 
virtual bool textFieldDidHandleEvent (TextField *textField, bool returnValue, bool textHasChanged)
 

Additional Inherited Members

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

Detailed Description

Definition at line 11 of file sub_controller.h.

Constructor & Destructor Documentation

◆ SubController() [1/3]

Settings::SubController::SubController ( Responder parentResponder)

Definition at line 13 of file sub_controller.cpp.

◆ ~SubController()

Settings::SubController::~SubController ( )

Definition at line 38 of file sub_controller.cpp.

◆ SubController() [2/3]

Settings::SubController::SubController ( const SubController other)
delete

◆ SubController() [3/3]

Settings::SubController::SubController ( SubController &&  other)
delete

Member Function Documentation

◆ cumulatedHeightFromIndex()

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

Implements TableViewDataSource.

Definition at line 162 of file sub_controller.cpp.

◆ didBecomeFirstResponder()

void Settings::SubController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 64 of file sub_controller.cpp.

◆ didEnterResponderChain()

void Settings::SubController::didEnterResponderChain ( Responder previousFirstResponder)
overridevirtual

Reimplemented from Responder.

Definition at line 58 of file sub_controller.cpp.

◆ handleEvent()

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

Reimplemented from Responder.

Definition at line 69 of file sub_controller.cpp.

◆ indexFromCumulatedHeight()

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

Implements TableViewDataSource.

Definition at line 166 of file sub_controller.cpp.

◆ numberOfRows()

int Settings::SubController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 115 of file sub_controller.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ reusableCell()

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

Implements TableViewDataSource.

Definition at line 122 of file sub_controller.cpp.

◆ reusableCellCount()

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

Implements TableViewDataSource.

Definition at line 134 of file sub_controller.cpp.

◆ rowHeight()

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

Implements TableViewDataSource.

Definition at line 158 of file sub_controller.cpp.

◆ setMessageTreeModel()

void Settings::SubController::setMessageTreeModel ( const MessageTree messageTreeModel)

Definition at line 216 of file sub_controller.cpp.

◆ textFieldDidFinishEditing()

bool Settings::SubController::textFieldDidFinishEditing ( TextField textField,
const char *  text,
Ion::Events::Event  event 
)
overridevirtual

Reimplemented from TextFieldDelegate.

Definition at line 233 of file sub_controller.cpp.

◆ textFieldShouldFinishEditing()

bool Settings::SubController::textFieldShouldFinishEditing ( TextField textField,
Ion::Events::Event  event 
)
overridevirtual

Implements TextFieldDelegate.

Definition at line 228 of file sub_controller.cpp.

◆ title()

const char * Settings::SubController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 47 of file sub_controller.cpp.

◆ typeAtLocation()

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

Implements TableViewDataSource.

Definition at line 148 of file sub_controller.cpp.

◆ view()

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

Implements ViewController.

Definition at line 54 of file sub_controller.cpp.

◆ viewDidDisappear()

void Settings::SubController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 224 of file sub_controller.cpp.

◆ viewWillAppear()

void Settings::SubController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 220 of file sub_controller.cpp.

◆ willDisplayCellForIndex()

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

Reimplemented from ListViewDataSource.

Definition at line 174 of file sub_controller.cpp.


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