Numworks Epsilon  1.4.1
Graphing Calculator Operating System
TabViewController Class Reference

#include <tab_view_controller.h>

Inheritance diagram for TabViewController:
ViewController Responder

Public Member Functions

 TabViewController (Responder *parentResponder, TabViewDataSource *dataSource, ViewController *one, ViewController *two, ViewController *three, ViewController *four=nullptr)
 
Viewview () override
 
int activeTab () const
 
void setSelectedTab (int8_t index)
 
void setActiveTab (int8_t index)
 
uint8_t numberOfTabs ()
 
const char * tabName (uint8_t index)
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
void didEnterResponderChain (Responder *previousResponder) override
 
void willResignFirstResponder () 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 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 8 of file tab_view_controller.h.

Constructor & Destructor Documentation

◆ TabViewController()

TabViewController::TabViewController ( Responder parentResponder,
TabViewDataSource dataSource,
ViewController one,
ViewController two,
ViewController three,
ViewController four = nullptr 
)

Definition at line 55 of file tab_view_controller.cpp.

Member Function Documentation

◆ activeTab()

int TabViewController::activeTab ( ) const

Definition at line 73 of file tab_view_controller.cpp.

◆ didBecomeFirstResponder()

void TabViewController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 138 of file tab_view_controller.cpp.

◆ didEnterResponderChain()

void TabViewController::didEnterResponderChain ( Responder previousResponder)
overridevirtual

Reimplemented from Responder.

Definition at line 134 of file tab_view_controller.cpp.

◆ handleEvent()

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

Reimplemented from Responder.

Definition at line 77 of file tab_view_controller.cpp.

◆ numberOfTabs()

uint8_t TabViewController::numberOfTabs ( )

Definition at line 151 of file tab_view_controller.cpp.

◆ setActiveTab()

void TabViewController::setActiveTab ( int8_t  index)

Definition at line 111 of file tab_view_controller.cpp.

◆ setSelectedTab()

void TabViewController::setSelectedTab ( int8_t  index)

Definition at line 126 of file tab_view_controller.cpp.

◆ tabName()

const char * TabViewController::tabName ( uint8_t  index)

Definition at line 155 of file tab_view_controller.cpp.

◆ view()

View * TabViewController::view ( )
overridevirtual

Implements ViewController.

Definition at line 147 of file tab_view_controller.cpp.

◆ viewDidDisappear()

void TabViewController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 173 of file tab_view_controller.cpp.

◆ viewWillAppear()

void TabViewController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 159 of file tab_view_controller.cpp.

◆ willResignFirstResponder()

void TabViewController::willResignFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 142 of file tab_view_controller.cpp.


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