Numworks Epsilon  1.4.1
Graphing Calculator Operating System
ExpressionTableCell Class Reference

#include <expression_table_cell.h>

Inheritance diagram for ExpressionTableCell:
TableCell HighlightCell View ExpressionTableCellWithPointer

Public Member Functions

 ExpressionTableCell (Layout layout=Layout::Horizontal)
 
ViewlabelView () const override
 
void setHighlighted (bool highlight) override
 
void setExpression (Poincare::ExpressionLayout *expressionLayout)
 
- 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 void reloadCell ()
 
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
 

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)
 
- Protected Attributes inherited from HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 
- 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 7 of file expression_table_cell.h.

Constructor & Destructor Documentation

◆ ExpressionTableCell()

ExpressionTableCell::ExpressionTableCell ( Layout  layout = Layout::Horizontal)

Definition at line 5 of file expression_table_cell.cpp.

Member Function Documentation

◆ labelView()

View * ExpressionTableCell::labelView ( ) const
overridevirtual

Reimplemented from TableCell.

Definition at line 11 of file expression_table_cell.cpp.

◆ setExpression()

void ExpressionTableCell::setExpression ( Poincare::ExpressionLayout expressionLayout)

Definition at line 21 of file expression_table_cell.cpp.

◆ setHighlighted()

void ExpressionTableCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Reimplemented in ExpressionTableCellWithPointer.

Definition at line 15 of file expression_table_cell.cpp.


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