Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Code::ScriptParameterController Class Reference

#include <script_parameter_controller.h>

Inheritance diagram for Code::ScriptParameterController:
ViewController SimpleListViewDataSource SelectableTableViewDataSource Responder ListViewDataSource ScrollViewDataSource TableViewDataSource

Public Member Functions

 ScriptParameterController (Responder *parentResponder, I18n::Message title, MenuController *menuController)
 
void setScript (Script script)
 
void dismissScriptParameterController ()
 
Viewview () override
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void viewWillAppear () override
 
void didBecomeFirstResponder () override
 
KDCoordinate cellHeight () override
 
HighlightCellreusableCell (int index) override
 
int reusableCellCount () override
 
int numberOfRows () override
 
void willDisplayCellForIndex (HighlightCell *cell, int index) override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual void viewDidDisappear ()
 
virtual DisplayParameter displayParameter ()
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- Public Member Functions inherited from SimpleListViewDataSource
KDCoordinate rowHeight (int j) override
 
KDCoordinate cumulatedHeightFromIndex (int j) override
 
int indexFromCumulatedHeight (KDCoordinate offsetY) override
 
HighlightCellreusableCell (int index, int type) override
 
int reusableCellCount (int type) override
 
int typeAtLocation (int i, int j) override
 
- 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)
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file script_parameter_controller.h.

Constructor & Destructor Documentation

◆ ScriptParameterController()

Code::ScriptParameterController::ScriptParameterController ( Responder parentResponder,
I18n::Message  title,
MenuController menuController 
)

Definition at line 6 of file script_parameter_controller.cpp.

Member Function Documentation

◆ cellHeight()

KDCoordinate Code::ScriptParameterController::cellHeight ( )
inlineoverridevirtual

Implements SimpleListViewDataSource.

Definition at line 26 of file script_parameter_controller.h.

◆ didBecomeFirstResponder()

void Code::ScriptParameterController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 68 of file script_parameter_controller.cpp.

◆ dismissScriptParameterController()

void Code::ScriptParameterController::dismissScriptParameterController ( )

Definition at line 23 of file script_parameter_controller.cpp.

◆ handleEvent()

bool Code::ScriptParameterController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 32 of file script_parameter_controller.cpp.

◆ numberOfRows()

int Code::ScriptParameterController::numberOfRows ( )
inlineoverridevirtual

Implements TableViewDataSource.

Definition at line 29 of file script_parameter_controller.h.

◆ reusableCell()

HighlightCell * Code::ScriptParameterController::reusableCell ( int  index)
overridevirtual

Implements SimpleListViewDataSource.

Definition at line 73 of file script_parameter_controller.cpp.

◆ reusableCellCount()

int Code::ScriptParameterController::reusableCellCount ( )
inlineoverridevirtual

Implements SimpleListViewDataSource.

Definition at line 28 of file script_parameter_controller.h.

◆ setScript()

void Code::ScriptParameterController::setScript ( Script  script)

Definition at line 19 of file script_parameter_controller.cpp.

◆ title()

const char * Code::ScriptParameterController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 28 of file script_parameter_controller.cpp.

◆ view()

View* Code::ScriptParameterController::view ( )
inlineoverridevirtual

Implements ViewController.

Definition at line 19 of file script_parameter_controller.h.

◆ viewWillAppear()

void Code::ScriptParameterController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 63 of file script_parameter_controller.cpp.

◆ willDisplayCellForIndex()

void Code::ScriptParameterController::willDisplayCellForIndex ( HighlightCell cell,
int  index 
)
overridevirtual

Reimplemented from ListViewDataSource.

Definition at line 80 of file script_parameter_controller.cpp.


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