Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Regression::GraphController Class Reference

#include <graph_controller.h>

Inheritance diagram for Regression::GraphController:
Shared::InteractiveCurveViewController Shared::SimpleInteractiveCurveViewController ButtonRowDelegate AlternateEmptyViewDelegate ViewController Responder

Public Member Functions

 GraphController (Responder *parentResponder, ButtonRowController *header, Store *store, Shared::CurveViewCursor *cursor, uint32_t *modelVersion, uint32_t *rangeVersion, int *selectedDotIndex)
 
ViewControllerinitialisationParameterController () override
 
bool isEmpty () const override
 
I18n::Message emptyMessage () override
 
void viewWillAppear () override
 
void selectRegressionCurve ()
 
- Public Member Functions inherited from Shared::InteractiveCurveViewController
 InteractiveCurveViewController (Responder *parentResponder, ButtonRowController *header, InteractiveCurveViewRange *interactiveRange, CurveView *curveView, CurveViewCursor *cursor, uint32_t *modelVersion, uint32_t *rangeVersion)
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
ViewControllerrangeParameterController ()
 
ViewControllerzoomParameterController ()
 
int numberOfButtons (ButtonRowController::Position position) const override
 
ButtonbuttonAtIndex (int index, ButtonRowController::Position position) const override
 
ResponderdefaultController () override
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
void didEnterResponderChain (Responder *previousFirstResponder) override
 
void willExitResponderChain (Responder *nextFirstResponder) override
 
- Public Member Functions inherited from Shared::SimpleInteractiveCurveViewController
 SimpleInteractiveCurveViewController (Responder *parentResponder, InteractiveCurveViewRange *interactiveRange, CurveView *curveView, CurveViewCursor *cursor)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) 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 ()
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- Public Member Functions inherited from ButtonRowDelegate
 ButtonRowDelegate (ButtonRowController *header, ButtonRowController *footer)
 
ButtonRowControllerheader ()
 
ButtonRowControllerfooter ()
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Static Public Attributes inherited from Shared::SimpleInteractiveCurveViewController
static constexpr float k_cursorRightMarginRatio = 0.04f
 
static constexpr float k_cursorLeftMarginRatio = 0.04f
 
static constexpr float k_numberOfCursorStepsInGradUnit = 5.0f
 
- Protected Member Functions inherited from Shared::InteractiveCurveViewController
RespondertabController () const
 
virtual StackViewControllerstackController () const
 
- Protected Member Functions inherited from Shared::SimpleInteractiveCurveViewController
virtual bool handleZoom (Ion::Events::Event event)
 
virtual bool handleLeftRightEvent (Ion::Events::Event event)
 
- Protected Attributes inherited from Shared::InteractiveCurveViewController
OkView m_okView
 
- Protected Attributes inherited from Shared::SimpleInteractiveCurveViewController
CurveViewCursorm_cursor
 

Detailed Description

Definition at line 17 of file graph_controller.h.

Constructor & Destructor Documentation

◆ GraphController()

Regression::GraphController::GraphController ( Responder parentResponder,
ButtonRowController header,
Store store,
Shared::CurveViewCursor cursor,
uint32_t modelVersion,
uint32_t rangeVersion,
int *  selectedDotIndex 
)

Definition at line 10 of file graph_controller.cpp.

Member Function Documentation

◆ emptyMessage()

I18n::Message Regression::GraphController::emptyMessage ( )
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 35 of file graph_controller.cpp.

◆ initialisationParameterController()

ViewController * Regression::GraphController::initialisationParameterController ( )
overridevirtual

Implements Shared::InteractiveCurveViewController.

Definition at line 24 of file graph_controller.cpp.

◆ isEmpty()

bool Regression::GraphController::isEmpty ( ) const
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 28 of file graph_controller.cpp.

◆ selectRegressionCurve()

void Regression::GraphController::selectRegressionCurve ( )

Definition at line 47 of file graph_controller.cpp.

◆ viewWillAppear()

void Regression::GraphController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 42 of file graph_controller.cpp.


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