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

#include <console_edit_cell.h>

Inheritance diagram for Code::ConsoleEditCell:
HighlightCell Responder View

Public Member Functions

 ConsoleEditCell (Responder *parentResponder=nullptr, TextFieldDelegate *delegate=nullptr)
 
int numberOfSubviews () const override
 
ViewsubviewAtIndex (int index) override
 
void layoutSubviews () override
 
void didBecomeFirstResponder () override
 
Responderresponder () override
 
void setEditing (bool isEditing, bool reinitDraftBuffer=false)
 
const char * text () const
 
void setText (const char *text)
 
bool insertText (const char *text)
 
void setPrompt (const char *prompt)
 
- Public Member Functions inherited from HighlightCell
 HighlightCell ()
 
virtual void setHighlighted (bool highlight)
 
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 ()
 
virtual void drawRect (KDContext *ctx, KDRect rect) const
 
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 HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 12 of file console_edit_cell.h.

Constructor & Destructor Documentation

◆ ConsoleEditCell()

Code::ConsoleEditCell::ConsoleEditCell ( Responder parentResponder = nullptr,
TextFieldDelegate delegate = nullptr 
)

Definition at line 9 of file console_edit_cell.cpp.

Member Function Documentation

◆ didBecomeFirstResponder()

void Code::ConsoleEditCell::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 37 of file console_edit_cell.cpp.

◆ insertText()

bool Code::ConsoleEditCell::insertText ( const char *  text)

Definition at line 54 of file console_edit_cell.cpp.

◆ layoutSubviews()

void Code::ConsoleEditCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 31 of file console_edit_cell.cpp.

◆ numberOfSubviews()

int Code::ConsoleEditCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 18 of file console_edit_cell.cpp.

◆ responder()

Responder* Code::ConsoleEditCell::responder ( )
inlineoverridevirtual

Reimplemented from HighlightCell.

Definition at line 25 of file console_edit_cell.h.

◆ setEditing()

void Code::ConsoleEditCell::setEditing ( bool  isEditing,
bool  reinitDraftBuffer = false 
)

Definition at line 41 of file console_edit_cell.cpp.

◆ setPrompt()

void Code::ConsoleEditCell::setPrompt ( const char *  prompt)

Definition at line 49 of file console_edit_cell.cpp.

◆ setText()

void Code::ConsoleEditCell::setText ( const char *  text)

Definition at line 45 of file console_edit_cell.cpp.

◆ subviewAtIndex()

View * Code::ConsoleEditCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 22 of file console_edit_cell.cpp.

◆ text()

const char* Code::ConsoleEditCell::text ( ) const
inline

Definition at line 31 of file console_edit_cell.h.


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