Numworks Epsilon  1.4.1
Graphing Calculator Operating System
MessageTableCellWithBuffer Class Reference

#include <message_table_cell_with_buffer.h>

Inheritance diagram for MessageTableCellWithBuffer:
MessageTableCell TableCell HighlightCell View

Public Member Functions

 MessageTableCellWithBuffer (I18n::Message message=(I18n::Message) 0, KDText::FontSize fontSize=KDText::FontSize::Small, KDText::FontSize accessoryFontSize=KDText::FontSize::Large, KDColor accessoryTextColor=KDColorBlack)
 
ViewaccessoryView () const override
 
void setHighlighted (bool highlight) override
 
void setAccessoryText (const char *textBody)
 
const char * accessoryText ()
 
void setTextColor (KDColor color) override
 
void setAccessoryTextColor (KDColor color)
 
void setAccessoryFontSize (KDText::FontSize fontSize)
 
- 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 ()
 
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
 

Protected Attributes

BufferTextView m_accessoryView
 
- 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 7 of file message_table_cell_with_buffer.h.

Constructor & Destructor Documentation

◆ MessageTableCellWithBuffer()

MessageTableCellWithBuffer::MessageTableCellWithBuffer ( I18n::Message  message = (I18n::Message)0,
KDText::FontSize  fontSize = KDText::FontSize::Small,
KDText::FontSize  accessoryFontSize = KDText::FontSize::Large,
KDColor  accessoryTextColor = KDColorBlack 
)

Definition at line 4 of file message_table_cell_with_buffer.cpp.

Member Function Documentation

◆ accessoryText()

const char * MessageTableCellWithBuffer::accessoryText ( )

Definition at line 15 of file message_table_cell_with_buffer.cpp.

◆ accessoryView()

View * MessageTableCellWithBuffer::accessoryView ( ) const
overridevirtual

Reimplemented from TableCell.

Definition at line 19 of file message_table_cell_with_buffer.cpp.

◆ setAccessoryFontSize()

void MessageTableCellWithBuffer::setAccessoryFontSize ( KDText::FontSize  fontSize)

Definition at line 38 of file message_table_cell_with_buffer.cpp.

◆ setAccessoryText()

void MessageTableCellWithBuffer::setAccessoryText ( const char *  textBody)

Definition at line 10 of file message_table_cell_with_buffer.cpp.

◆ setAccessoryTextColor()

void MessageTableCellWithBuffer::setAccessoryTextColor ( KDColor  color)

Definition at line 34 of file message_table_cell_with_buffer.cpp.

◆ setHighlighted()

void MessageTableCellWithBuffer::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from MessageTableCell.

Definition at line 23 of file message_table_cell_with_buffer.cpp.

◆ setTextColor()

void MessageTableCellWithBuffer::setTextColor ( KDColor  color)
overridevirtual

Reimplemented from MessageTableCell.

Definition at line 29 of file message_table_cell_with_buffer.cpp.

Member Data Documentation

◆ m_accessoryView

BufferTextView MessageTableCellWithBuffer::m_accessoryView
protected

Definition at line 18 of file message_table_cell_with_buffer.h.


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