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

#include <go_to_parameter_controller.h>

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

Public Member Functions

 GoToParameterController (Responder *parentResponder, InteractiveCurveViewRange *graphRange, CurveViewCursor *cursor, I18n::Message symbol)
 
int numberOfRows () override
 
bool handleEvent (Ion::Events::Event event) 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
 
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 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 Attributes

CurveViewCursorm_cursor
 
InteractiveCurveViewRangem_graphRange
 

Static Protected Attributes

static constexpr double k_maxDisplayableFloat = 1E8
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Protected Member Functions inherited from Shared::FloatParameterController
int activeCell ()
 
StackViewControllerstackController ()
 
virtual double parameterAtIndex (int index)=0
 
virtual SelectableTableViewselectableTableView ()
 

Detailed Description

Definition at line 11 of file go_to_parameter_controller.h.

Constructor & Destructor Documentation

◆ GoToParameterController()

Shared::GoToParameterController::GoToParameterController ( Responder parentResponder,
InteractiveCurveViewRange graphRange,
CurveViewCursor cursor,
I18n::Message  symbol 
)

Definition at line 7 of file go_to_parameter_controller.cpp.

Member Function Documentation

◆ handleEvent()

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

Reimplemented from Shared::FloatParameterController.

Definition at line 29 of file go_to_parameter_controller.cpp.

◆ numberOfRows()

int Shared::GoToParameterController::numberOfRows ( )
overridevirtual

Implements TableViewDataSource.

Definition at line 16 of file go_to_parameter_controller.cpp.

Member Data Documentation

◆ k_maxDisplayableFloat

constexpr double Shared::GoToParameterController::k_maxDisplayableFloat = 1E8
staticprotected

Definition at line 17 of file go_to_parameter_controller.h.

◆ m_cursor

CurveViewCursor* Shared::GoToParameterController::m_cursor
protected

Definition at line 18 of file go_to_parameter_controller.h.

◆ m_graphRange

InteractiveCurveViewRange* Shared::GoToParameterController::m_graphRange
protected

Definition at line 19 of file go_to_parameter_controller.h.


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