Numworks Epsilon  1.4.1
Graphing Calculator Operating System
MessageTableCellWithEditableText Class Reference

#include <message_table_cell_with_editable_text.h>

Inheritance diagram for MessageTableCellWithEditableText:
Responder MessageTableCell TableCell HighlightCell View

Public Member Functions

 MessageTableCellWithEditableText (Responder *parentResponder, TextFieldDelegate *textFieldDelegate, char *draftTextBuffer, I18n::Message message=(I18n::Message) 0)
 
ViewaccessoryView () const override
 
const char * editedText () const
 
void didBecomeFirstResponder () override
 
bool isEditing ()
 
void setEditing (bool isEditing)
 
void setHighlighted (bool highlight) override
 
Responderresponder () override
 
void setAccessoryText (const char *text)
 
void setTextColor (KDColor color) override
 
- 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 ()
 
- Public Member Functions inherited from MessageTableCell
 MessageTableCell (I18n::Message label=(I18n::Message) 0, KDText::FontSize size=KDText::FontSize::Small, Layout layout=Layout::Horizontal)
 
ViewlabelView () const override
 
void setMessage (I18n::Message message)
 
void setMessageFontSize (KDText::FontSize fontSize)
 
- Public Member Functions inherited from TableCell
 TableCell (Layout layout=Layout::Horizontal)
 
virtual ViewsubAccessoryView () 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
 

Static Public Attributes

static constexpr int k_bufferLength = TextField::maxBufferSize()
 

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 8 of file message_table_cell_with_editable_text.h.

Constructor & Destructor Documentation

◆ MessageTableCellWithEditableText()

MessageTableCellWithEditableText::MessageTableCellWithEditableText ( Responder parentResponder,
TextFieldDelegate textFieldDelegate,
char *  draftTextBuffer,
I18n::Message  message = (I18n::Message)0 
)

Definition at line 5 of file message_table_cell_with_editable_text.cpp.

Member Function Documentation

◆ accessoryView()

View * MessageTableCellWithEditableText::accessoryView ( ) const
overridevirtual

Reimplemented from TableCell.

Definition at line 13 of file message_table_cell_with_editable_text.cpp.

◆ didBecomeFirstResponder()

void MessageTableCellWithEditableText::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 21 of file message_table_cell_with_editable_text.cpp.

◆ editedText()

const char * MessageTableCellWithEditableText::editedText ( ) const

Definition at line 17 of file message_table_cell_with_editable_text.cpp.

◆ isEditing()

bool MessageTableCellWithEditableText::isEditing ( )

Definition at line 25 of file message_table_cell_with_editable_text.cpp.

◆ responder()

Responder* MessageTableCellWithEditableText::responder ( )
inlineoverridevirtual

Reimplemented from HighlightCell.

Definition at line 17 of file message_table_cell_with_editable_text.h.

◆ setAccessoryText()

void MessageTableCellWithEditableText::setAccessoryText ( const char *  text)

Definition at line 39 of file message_table_cell_with_editable_text.cpp.

◆ setEditing()

void MessageTableCellWithEditableText::setEditing ( bool  isEditing)

Definition at line 29 of file message_table_cell_with_editable_text.cpp.

◆ setHighlighted()

void MessageTableCellWithEditableText::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from MessageTableCell.

Definition at line 33 of file message_table_cell_with_editable_text.cpp.

◆ setTextColor()

void MessageTableCellWithEditableText::setTextColor ( KDColor  color)
overridevirtual

Reimplemented from MessageTableCell.

Definition at line 44 of file message_table_cell_with_editable_text.cpp.

Member Data Documentation

◆ k_bufferLength

constexpr int MessageTableCellWithEditableText::k_bufferLength = TextField::maxBufferSize()
static

Definition at line 22 of file message_table_cell_with_editable_text.h.


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