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

#include <script_node_cell.h>

Inheritance diagram for Code::ScriptNodeCell:
TableCell HighlightCell View

Classes

class  ScriptNodeView
 

Public Member Functions

 ScriptNodeCell ()
 
void setScriptNode (ScriptNode *node)
 
void setScriptStore (ScriptStore *scriptStore)
 
ViewlabelView () const override
 
void setHighlighted (bool highlight) override
 
void reloadCell () override
 
- Public Member Functions inherited from TableCell
 TableCell (Layout layout=Layout::Horizontal)
 
virtual ViewaccessoryView () const
 
virtual ViewsubAccessoryView () const
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
- Public Member Functions inherited from HighlightCell
 HighlightCell ()
 
bool isHighlighted () const
 
virtual Responderresponder ()
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
 View (const View &other)=delete
 
 View (View &&other)=delete
 
Viewoperator= (const View &other)=delete
 
Viewoperator= (View &&other)=delete
 
void resetSuperview ()
 
void setSize (KDSize size)
 
void setFrame (KDRect frame)
 
KDPoint pointFromPointInView (View *view, KDPoint point)
 
KDRect bounds () const
 
Viewsubview (int index)
 
virtual KDSize minimalSizeForOptimalDisplay () const
 

Static Public Attributes

static constexpr char k_parentheses [] = "()"
 

Protected Attributes

ScriptNodeView m_scriptNodeView
 
- Protected Attributes inherited from HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 

Additional Inherited Members

- Public Types inherited from TableCell
enum  Layout { Layout::Vertical, Layout::Horizontal }
 
- Protected Member Functions inherited from TableCell
int numberOfSubviews () const override
 
ViewsubviewAtIndex (int index) override
 
void layoutSubviews () override
 
- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Static Protected Attributes inherited from TableCell
static constexpr KDCoordinate k_separatorThickness = 1
 
static constexpr KDCoordinate k_labelMargin = 10
 
static constexpr KDCoordinate k_accessoryMargin = 10
 

Detailed Description

Definition at line 11 of file script_node_cell.h.

Constructor & Destructor Documentation

◆ ScriptNodeCell()

Code::ScriptNodeCell::ScriptNodeCell ( )

Definition at line 46 of file script_node_cell.cpp.

Member Function Documentation

◆ labelView()

View* Code::ScriptNodeCell::labelView ( ) const
inlineoverridevirtual

Reimplemented from TableCell.

Definition at line 18 of file script_node_cell.h.

◆ reloadCell()

void Code::ScriptNodeCell::reloadCell ( )
overridevirtual

Reimplemented from HighlightCell.

Definition at line 66 of file script_node_cell.cpp.

◆ setHighlighted()

void Code::ScriptNodeCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 61 of file script_node_cell.cpp.

◆ setScriptNode()

void Code::ScriptNodeCell::setScriptNode ( ScriptNode node)

Definition at line 52 of file script_node_cell.cpp.

◆ setScriptStore()

void Code::ScriptNodeCell::setScriptStore ( ScriptStore scriptStore)

Definition at line 57 of file script_node_cell.cpp.

Member Data Documentation

◆ k_parentheses

constexpr char Code::ScriptNodeCell::k_parentheses = "()"
static

Definition at line 24 of file script_node_cell.h.

◆ m_scriptNodeView

ScriptNodeView Code::ScriptNodeCell::m_scriptNodeView
protected

Definition at line 39 of file script_node_cell.h.


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