Numworks Epsilon  1.4.1
Graphing Calculator Operating System
InputViewController Class Reference

#include <input_view_controller.h>

Inheritance diagram for InputViewController:
ModalViewController TextFieldDelegate ViewController Responder

Public Member Functions

 InputViewController (Responder *parentResponder, ViewController *child, TextFieldDelegate *textFieldDelegate)
 
void edit (Responder *caller, Ion::Events::Event event, void *context, const char *initialText, Invocation::Action successAction, Invocation::Action failureAction)
 
const char * textBody ()
 
bool textFieldDidReceiveEvent (TextField *textField, Ion::Events::Event event) override
 
void abortTextFieldEditionAndDismiss ()
 
bool textFieldShouldFinishEditing (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
 
ToolboxtoolboxForTextInput (TextInput *textInput) override
 
- Public Member Functions inherited from ModalViewController
 ModalViewController (Responder *parentResponder, ViewController *child)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void displayModalViewController (ViewController *vc, float verticalAlignment, float horizontalAlignment, KDCoordinate topMargin=0, KDCoordinate leftMargin=0, KDCoordinate bottomMargin=0, KDCoordinate rightMargin=0)
 
void dismissModalViewController ()
 
bool isDisplayingModal ()
 
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 ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 9 of file input_view_controller.h.

Constructor & Destructor Documentation

◆ InputViewController()

InputViewController::InputViewController ( Responder parentResponder,
ViewController child,
TextFieldDelegate textFieldDelegate 
)

Definition at line 61 of file input_view_controller.cpp.

Member Function Documentation

◆ abortTextFieldEditionAndDismiss()

void InputViewController::abortTextFieldEditionAndDismiss ( )

Definition at line 84 of file input_view_controller.cpp.

◆ edit()

void InputViewController::edit ( Responder caller,
Ion::Events::Event  event,
void *  context,
const char *  initialText,
Invocation::Action  successAction,
Invocation::Action  failureAction 
)

Definition at line 74 of file input_view_controller.cpp.

◆ textBody()

const char * InputViewController::textBody ( )

Definition at line 70 of file input_view_controller.cpp.

◆ textFieldDidAbortEditing()

bool InputViewController::textFieldDidAbortEditing ( TextField textField,
const char *  text 
)
overridevirtual

Reimplemented from TextFieldDelegate.

Definition at line 99 of file input_view_controller.cpp.

◆ textFieldDidFinishEditing()

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

Reimplemented from TextFieldDelegate.

Definition at line 93 of file input_view_controller.cpp.

◆ textFieldDidReceiveEvent()

bool InputViewController::textFieldDidReceiveEvent ( TextField textField,
Ion::Events::Event  event 
)
overridevirtual

Implements TextFieldDelegate.

Definition at line 105 of file input_view_controller.cpp.

◆ textFieldShouldFinishEditing()

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

Implements TextFieldDelegate.

Definition at line 89 of file input_view_controller.cpp.

◆ toolboxForTextInput()

Toolbox * InputViewController::toolboxForTextInput ( TextInput textInput)
overridevirtual

Implements TextInputDelegate.

Definition at line 109 of file input_view_controller.cpp.


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