Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Shared::FloatParameterController Class Referenceabstract

#include <float_parameter_controller.h>

Inheritance diagram for Shared::FloatParameterController:
DynamicViewController ListViewDataSource SelectableTableViewDataSource Shared::ParameterTextFieldDelegate ViewController TableViewDataSource ScrollViewDataSource Shared::TextFieldDelegate Responder TextFieldDelegate TextInputDelegate Probability::ParametersController Shared::GoToParameterController Shared::IntervalParameterController Shared::RangeParameterController Statistics::HistogramParameterController Regression::GoToParameterController Shared::FunctionGoToParameterController Sequence::IntervalParameterController Sequence::GoToParameterController

Public Member Functions

 FloatParameterController (Responder *parentResponder)
 
void didBecomeFirstResponder () override
 
void viewWillAppear () override
 
void willExitResponderChain (Responder *nextFirstResponder) override
 
bool handleEvent (Ion::Events::Event event) 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
 
void willDisplayCellForIndex (HighlightCell *cell, int index) 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 const char * title ()
 
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 TableViewDataSource
virtual int numberOfRows ()=0
 
- 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

int activeCell ()
 
StackViewControllerstackController ()
 
virtual double parameterAtIndex (int index)=0
 
virtual SelectableTableViewselectableTableView ()
 
ViewloadView () override
 
void unloadView (View *view) override
 

Additional Inherited Members

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

Detailed Description

Definition at line 13 of file float_parameter_controller.h.

Constructor & Destructor Documentation

◆ FloatParameterController()

Shared::FloatParameterController::FloatParameterController ( Responder parentResponder)

Definition at line 12 of file float_parameter_controller.cpp.

Member Function Documentation

◆ activeCell()

int Shared::FloatParameterController::activeCell ( )
protected

Definition at line 144 of file float_parameter_controller.cpp.

◆ cumulatedHeightFromIndex()

KDCoordinate Shared::FloatParameterController::cumulatedHeightFromIndex ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 86 of file float_parameter_controller.cpp.

◆ didBecomeFirstResponder()

void Shared::FloatParameterController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 18 of file float_parameter_controller.cpp.

◆ handleEvent()

bool Shared::FloatParameterController::handleEvent ( Ion::Events::Event  event)
overridevirtual

◆ indexFromCumulatedHeight()

int Shared::FloatParameterController::indexFromCumulatedHeight ( KDCoordinate  offsetY)
overridevirtual

Implements TableViewDataSource.

Definition at line 93 of file float_parameter_controller.cpp.

◆ loadView()

View * Shared::FloatParameterController::loadView ( )
overrideprotectedvirtual

Implements DynamicViewController.

Definition at line 165 of file float_parameter_controller.cpp.

◆ parameterAtIndex()

virtual double Shared::FloatParameterController::parameterAtIndex ( int  index)
protectedpure virtual

◆ reusableCell()

HighlightCell * Shared::FloatParameterController::reusableCell ( int  index,
int  type 
)
overridevirtual

Implements TableViewDataSource.

Definition at line 72 of file float_parameter_controller.cpp.

◆ reusableCellCount()

int Shared::FloatParameterController::reusableCellCount ( int  type)
overridevirtual

Implements TableViewDataSource.

Definition at line 65 of file float_parameter_controller.cpp.

◆ rowHeight()

KDCoordinate Shared::FloatParameterController::rowHeight ( int  j)
overridevirtual

Implements TableViewDataSource.

Definition at line 79 of file float_parameter_controller.cpp.

◆ selectableTableView()

SelectableTableView * Shared::FloatParameterController::selectableTableView ( )
protectedvirtual

Definition at line 152 of file float_parameter_controller.cpp.

◆ stackController()

StackViewController * Shared::FloatParameterController::stackController ( )
protected

Definition at line 148 of file float_parameter_controller.cpp.

◆ textFieldDidFinishEditing()

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

Reimplemented from TextFieldDelegate.

Reimplemented in Shared::RangeParameterController.

Definition at line 119 of file float_parameter_controller.cpp.

◆ textFieldShouldFinishEditing()

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

Implements TextFieldDelegate.

Definition at line 113 of file float_parameter_controller.cpp.

◆ typeAtLocation()

int Shared::FloatParameterController::typeAtLocation ( int  i,
int  j 
)
overridevirtual

Implements TableViewDataSource.

Reimplemented in Shared::RangeParameterController.

Definition at line 58 of file float_parameter_controller.cpp.

◆ unloadView()

void Shared::FloatParameterController::unloadView ( View view)
overrideprotectedvirtual

Implements DynamicViewController.

Definition at line 174 of file float_parameter_controller.cpp.

◆ viewWillAppear()

void Shared::FloatParameterController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 29 of file float_parameter_controller.cpp.

◆ willDisplayCellForIndex()

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

◆ willExitResponderChain()

void Shared::FloatParameterController::willExitResponderChain ( Responder nextFirstResponder)
overridevirtual

Reimplemented from Responder.

Definition at line 43 of file float_parameter_controller.cpp.


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