Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Code::EditorController Class Reference

#include <editor_controller.h>

Inheritance diagram for Code::EditorController:
ViewController TextAreaDelegate Responder TextInputDelegate

Public Member Functions

 EditorController (MenuController *menuController)
 
 ~EditorController ()
 
void setScript (Script script)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
ViewController::DisplayParameter displayParameter () override
 
bool textAreaDidReceiveEvent (TextArea *textArea, Ion::Events::Event event) override
 
ToolboxtoolboxForTextInput (TextInput *textInput) override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual const char * title ()
 
- 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 12 of file editor_controller.h.

Constructor & Destructor Documentation

◆ EditorController()

Code::EditorController::EditorController ( MenuController menuController)

Definition at line 11 of file editor_controller.cpp.

◆ ~EditorController()

Code::EditorController::~EditorController ( )

Definition at line 21 of file editor_controller.cpp.

Member Function Documentation

◆ didBecomeFirstResponder()

void Code::EditorController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 51 of file editor_controller.cpp.

◆ displayParameter()

ViewController::DisplayParameter Code::EditorController::displayParameter ( )
inlineoverridevirtual

Reimplemented from ViewController.

Definition at line 24 of file editor_controller.h.

◆ handleEvent()

bool Code::EditorController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 38 of file editor_controller.cpp.

◆ setScript()

void Code::EditorController::setScript ( Script  script)

Definition at line 26 of file editor_controller.cpp.

◆ textAreaDidReceiveEvent()

bool Code::EditorController::textAreaDidReceiveEvent ( TextArea textArea,
Ion::Events::Event  event 
)
overridevirtual

Implements TextAreaDelegate.

Definition at line 65 of file editor_controller.cpp.

◆ toolboxForTextInput()

Toolbox * Code::EditorController::toolboxForTextInput ( TextInput textInput)
overridevirtual

Implements TextInputDelegate.

Definition at line 140 of file editor_controller.cpp.

◆ view()

View* Code::EditorController::view ( )
inlineoverridevirtual

Implements ViewController.

Definition at line 19 of file editor_controller.h.

◆ viewDidDisappear()

void Code::EditorController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 59 of file editor_controller.cpp.

◆ viewWillAppear()

void Code::EditorController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 55 of file editor_controller.cpp.


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