Numworks Epsilon  1.4.1
Graphing Calculator Operating System
MessageTableCellWithMessage Class Reference

#include <message_table_cell_with_message.h>

Inheritance diagram for MessageTableCellWithMessage:
MessageTableCell TableCell HighlightCell View

Public Member Functions

 MessageTableCellWithMessage (I18n::Message message=(I18n::Message) 0, Layout layout=Layout::Vertical)
 
ViewaccessoryView () const override
 
void setHighlighted (bool highlight) override
 
void setAccessoryMessage (I18n::Message textBody)
 
void setTextColor (KDColor color) override
 
void setAccessoryTextColor (KDColor color)
 
- 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

MessageTextView 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 6 of file message_table_cell_with_message.h.

Constructor & Destructor Documentation

◆ MessageTableCellWithMessage()

MessageTableCellWithMessage::MessageTableCellWithMessage ( I18n::Message  message = (I18n::Message)0,
Layout  layout = Layout::Vertical 
)

Definition at line 5 of file message_table_cell_with_message.cpp.

Member Function Documentation

◆ accessoryView()

View * MessageTableCellWithMessage::accessoryView ( ) const
overridevirtual

Reimplemented from TableCell.

Definition at line 19 of file message_table_cell_with_message.cpp.

◆ setAccessoryMessage()

void MessageTableCellWithMessage::setAccessoryMessage ( I18n::Message  textBody)

Definition at line 14 of file message_table_cell_with_message.cpp.

◆ setAccessoryTextColor()

void MessageTableCellWithMessage::setAccessoryTextColor ( KDColor  color)

Definition at line 37 of file message_table_cell_with_message.cpp.

◆ setHighlighted()

void MessageTableCellWithMessage::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from MessageTableCell.

Definition at line 26 of file message_table_cell_with_message.cpp.

◆ setTextColor()

void MessageTableCellWithMessage::setTextColor ( KDColor  color)
overridevirtual

Reimplemented from MessageTableCell.

Definition at line 32 of file message_table_cell_with_message.cpp.

Member Data Documentation

◆ m_accessoryView

MessageTextView MessageTableCellWithMessage::m_accessoryView
protected

Definition at line 15 of file message_table_cell_with_message.h.


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