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

#include <edit_expression_controller.h>

Inheritance diagram for Calculation::EditExpressionController:
DynamicViewController Shared::TextFieldDelegate ViewController TextFieldDelegate Responder TextInputDelegate

Public Member Functions

 EditExpressionController (Responder *parentResponder, HistoryController *historyController, CalculationStore *calculationStore)
 
void didBecomeFirstResponder () override
 
void viewDidDisappear () override
 
bool handleEvent (Ion::Events::Event event) override
 
const char * textBody ()
 
void insertTextBody (const char *text)
 
bool textFieldDidReceiveEvent (::TextField *textField, Ion::Events::Event event) override
 
bool textFieldDidFinishEditing (::TextField *textField, const char *text, Ion::Events::Event event) override
 
bool textFieldDidAbortEditing (::TextField *textField, const char *text) 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)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- 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 textFieldDidFinishEditing (TextField *textField, const char *text, Ion::Events::Event event)
 
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 14 of file edit_expression_controller.h.

Constructor & Destructor Documentation

◆ EditExpressionController()

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

Definition at line 49 of file edit_expression_controller.cpp.

Member Function Documentation

◆ didBecomeFirstResponder()

void Calculation::EditExpressionController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 79 of file edit_expression_controller.cpp.

◆ handleEvent()

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

Reimplemented from Responder.

Definition at line 67 of file edit_expression_controller.cpp.

◆ insertTextBody()

void Calculation::EditExpressionController::insertTextBody ( const char *  text)

Definition at line 61 of file edit_expression_controller.cpp.

◆ textBody()

const char * Calculation::EditExpressionController::textBody ( )

Definition at line 57 of file edit_expression_controller.cpp.

◆ textFieldDidAbortEditing()

bool Calculation::EditExpressionController::textFieldDidAbortEditing ( ::TextField textField,
const char *  text 
)
override

Definition at line 113 of file edit_expression_controller.cpp.

◆ textFieldDidFinishEditing()

bool Calculation::EditExpressionController::textFieldDidFinishEditing ( ::TextField textField,
const char *  text,
Ion::Events::Event  event 
)
override

Definition at line 102 of file edit_expression_controller.cpp.

◆ textFieldDidReceiveEvent()

bool Calculation::EditExpressionController::textFieldDidReceiveEvent ( ::TextField textField,
Ion::Events::Event  event 
)
override

Definition at line 86 of file edit_expression_controller.cpp.

◆ viewDidDisappear()

void Calculation::EditExpressionController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 131 of file edit_expression_controller.cpp.


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