Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Shared::IntervalParameterController Class Reference

#include <interval_parameter_controller.h>

Inheritance diagram for Shared::IntervalParameterController:
Shared::FloatParameterController DynamicViewController ListViewDataSource SelectableTableViewDataSource Shared::ParameterTextFieldDelegate ViewController TableViewDataSource ScrollViewDataSource Shared::TextFieldDelegate Responder TextFieldDelegate TextInputDelegate Sequence::IntervalParameterController

Public Member Functions

 IntervalParameterController (Responder *parentResponder, Interval *interval)
 
Intervalinterval ()
 
const char * title () override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
int numberOfRows () override
 
- Public Member Functions inherited from Shared::FloatParameterController
 FloatParameterController (Responder *parentResponder)
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
void willExitResponderChain (Responder *nextFirstResponder) override
 
int typeAtLocation (int i, int j) override
 
int reusableCellCount (int type) override
 
HighlightCellreusableCell (int index, int type) override
 
KDCoordinate rowHeight (int j) override
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
bool textFieldShouldFinishEditing (TextField *textField, Ion::Events::Event event) override
 
bool textFieldDidFinishEditing (TextField *textField, const char *text, Ion::Events::Event event) 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 DisplayParameter displayParameter ()
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- Public Member Functions inherited from ListViewDataSource
virtual KDCoordinate cellWidth ()
 
KDCoordinate columnWidth (int i) override
 
int numberOfColumns () override
 
void willDisplayCellAtLocation (HighlightCell *cell, int x, int y) override
 
int indexFromCumulatedWidth (KDCoordinate offsetX) override
 
KDCoordinate cumulatedWidthFromIndex (int i) override
 
- Public Member Functions inherited from SelectableTableViewDataSource
 SelectableTableViewDataSource ()
 
int selectedRow ()
 
int selectedColumn ()
 
void selectRow (int j)
 
void selectColumn (int i)
 
void selectCellAtLocation (int i, int j)
 
- Public Member Functions inherited from ScrollViewDataSource
 ScrollViewDataSource ()
 
KDPoint offset () const
 
bool setOffset (KDPoint offset)
 
- Public Member Functions inherited from Shared::ParameterTextFieldDelegate
bool textFieldDidReceiveEvent (TextField *textField, Ion::Events::Event event) override
 
- 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 textFieldDidAbortEditing (TextField *textField, const char *text)
 
virtual bool textFieldDidHandleEvent (TextField *textField, bool returnValue, bool textHasChanged)
 

Protected Member Functions

bool setParameterAtIndex (int parameterIndex, double f) override
 
bool handleEvent (Ion::Events::Event event) override
 
- Protected Member Functions inherited from Shared::FloatParameterController
int activeCell ()
 
StackViewControllerstackController ()
 
virtual SelectableTableViewselectableTableView ()
 

Protected Attributes

Intervalm_interval
 

Static Protected Attributes

static constexpr int k_totalNumberOfCell = 3
 

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file interval_parameter_controller.h.

Constructor & Destructor Documentation

◆ IntervalParameterController()

Shared::IntervalParameterController::IntervalParameterController ( Responder parentResponder,
Interval interval 
)

Definition at line 6 of file interval_parameter_controller.cpp.

Member Function Documentation

◆ handleEvent()

bool Shared::IntervalParameterController::handleEvent ( Ion::Events::Event  event)
overrideprotectedvirtual

Reimplemented from Shared::FloatParameterController.

Definition at line 66 of file interval_parameter_controller.cpp.

◆ interval()

Interval * Shared::IntervalParameterController::interval ( )

Definition at line 31 of file interval_parameter_controller.cpp.

◆ numberOfRows()

int Shared::IntervalParameterController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 17 of file interval_parameter_controller.cpp.

◆ setParameterAtIndex()

bool Shared::IntervalParameterController::setParameterAtIndex ( int  parameterIndex,
double  f 
)
overrideprotectedvirtual

◆ title()

const char * Shared::IntervalParameterController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 13 of file interval_parameter_controller.cpp.

◆ willDisplayCellForIndex()

void Shared::IntervalParameterController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from Shared::FloatParameterController.

Definition at line 21 of file interval_parameter_controller.cpp.

Member Data Documentation

◆ k_totalNumberOfCell

constexpr int Shared::IntervalParameterController::k_totalNumberOfCell = 3
staticprotected

Definition at line 18 of file interval_parameter_controller.h.

◆ m_interval

Interval* Shared::IntervalParameterController::m_interval
protected

Definition at line 20 of file interval_parameter_controller.h.


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