Numworks Epsilon  1.4.1
Graphing Calculator Operating System
ModalViewController Class Reference

#include <modal_view_controller.h>

Inheritance diagram for ModalViewController:
ViewController Responder InputViewController

Public Member Functions

 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 7 of file modal_view_controller.h.

Constructor & Destructor Documentation

◆ ModalViewController()

ModalViewController::ModalViewController ( Responder parentResponder,
ViewController child 
)

Definition at line 98 of file modal_view_controller.cpp.

Member Function Documentation

◆ didBecomeFirstResponder()

void ModalViewController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 132 of file modal_view_controller.cpp.

◆ dismissModalViewController()

void ModalViewController::dismissModalViewController ( )

Definition at line 125 of file modal_view_controller.cpp.

◆ displayModalViewController()

void ModalViewController::displayModalViewController ( ViewController vc,
float  verticalAlignment,
float  horizontalAlignment,
KDCoordinate  topMargin = 0,
KDCoordinate  leftMargin = 0,
KDCoordinate  bottomMargin = 0,
KDCoordinate  rightMargin = 0 
)

Definition at line 115 of file modal_view_controller.cpp.

◆ handleEvent()

bool ModalViewController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 139 of file modal_view_controller.cpp.

◆ isDisplayingModal()

bool ModalViewController::isDisplayingModal ( )

Definition at line 111 of file modal_view_controller.cpp.

◆ view()

View * ModalViewController::view ( )
overridevirtual

Implements ViewController.

Definition at line 107 of file modal_view_controller.cpp.

◆ viewDidDisappear()

void ModalViewController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 159 of file modal_view_controller.cpp.

◆ viewWillAppear()

void ModalViewController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 150 of file modal_view_controller.cpp.


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