Numworks Epsilon  1.4.1
Graphing Calculator Operating System
EvenOddEditableTextCell Class Reference

#include <even_odd_editable_text_cell.h>

Inheritance diagram for EvenOddEditableTextCell:
EvenOddCell Responder HighlightCell View

Public Member Functions

 EvenOddEditableTextCell (Responder *parentResponder=nullptr, TextFieldDelegate *delegate=nullptr, char *draftTextBuffer=nullptr, KDText::FontSize size=KDText::FontSize::Large, float horizontalAlignment=1.0f, float verticalAlignment=0.5f, KDCoordinate topMargin=0, KDCoordinate rightMargin=0, KDCoordinate bottomMargin=0, KDCoordinate leftMargin=0)
 
EditableTextCelleditableTextCell ()
 
void setEven (bool even) override
 
void setHighlighted (bool highlight) override
 
virtual Responderresponder () override
 
int numberOfSubviews () const override
 
ViewsubviewAtIndex (int index) override
 
void layoutSubviews () override
 
void didBecomeFirstResponder () override
 
- Public Member Functions inherited from EvenOddCell
 EvenOddCell ()
 
virtual KDColor backgroundColor () const
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
- Public Member Functions inherited from HighlightCell
 HighlightCell ()
 
bool isHighlighted () const
 
virtual void reloadCell ()
 
- 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
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual bool handleEvent (Ion::Events::Event event)
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Protected Attributes inherited from EvenOddCell
bool m_even
 
- Protected Attributes inherited from HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 8 of file even_odd_editable_text_cell.h.

Constructor & Destructor Documentation

◆ EvenOddEditableTextCell()

EvenOddEditableTextCell::EvenOddEditableTextCell ( Responder parentResponder = nullptr,
TextFieldDelegate delegate = nullptr,
char *  draftTextBuffer = nullptr,
KDText::FontSize  size = KDText::FontSize::Large,
float  horizontalAlignment = 1.0f,
float  verticalAlignment = 0.5f,
KDCoordinate  topMargin = 0,
KDCoordinate  rightMargin = 0,
KDCoordinate  bottomMargin = 0,
KDCoordinate  leftMargin = 0 
)

Definition at line 5 of file even_odd_editable_text_cell.cpp.

Member Function Documentation

◆ didBecomeFirstResponder()

void EvenOddEditableTextCell::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 39 of file even_odd_editable_text_cell.cpp.

◆ editableTextCell()

EditableTextCell * EvenOddEditableTextCell::editableTextCell ( )

Definition at line 12 of file even_odd_editable_text_cell.cpp.

◆ layoutSubviews()

void EvenOddEditableTextCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 35 of file even_odd_editable_text_cell.cpp.

◆ numberOfSubviews()

int EvenOddEditableTextCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 26 of file even_odd_editable_text_cell.cpp.

◆ responder()

virtual Responder* EvenOddEditableTextCell::responder ( )
inlineoverridevirtual

Reimplemented from HighlightCell.

Definition at line 14 of file even_odd_editable_text_cell.h.

◆ setEven()

void EvenOddEditableTextCell::setEven ( bool  even)
overridevirtual

Reimplemented from EvenOddCell.

Definition at line 21 of file even_odd_editable_text_cell.cpp.

◆ setHighlighted()

void EvenOddEditableTextCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 16 of file even_odd_editable_text_cell.cpp.

◆ subviewAtIndex()

View * EvenOddEditableTextCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 30 of file even_odd_editable_text_cell.cpp.


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