Numworks Epsilon  1.4.1
Graphing Calculator Operating System
TableView::ContentView Class Reference

#include <table_view.h>

Inheritance diagram for TableView::ContentView:
View

Public Member Functions

 ContentView (TableView *tableView, TableViewDataSource *dataSource, KDCoordinate horizontalCellOverlap, KDCoordinate verticalCellOverlap)
 
KDSize minimalSizeForOptimalDisplay () const override
 
void setHorizontalCellOverlap (KDCoordinate o)
 
void setVerticalCellOverlap (KDCoordinate o)
 
void scrollToCell (int i, int j) const
 
void reloadCellAtLocation (int i, int j)
 
HighlightCellcellAtLocation (int i, int j)
 
void resizeToFitContent ()
 
TableViewDataSourcedataSource ()
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 26 of file table_view.h.

Constructor & Destructor Documentation

◆ ContentView()

TableView::ContentView::ContentView ( TableView tableView,
TableViewDataSource dataSource,
KDCoordinate  horizontalCellOverlap,
KDCoordinate  verticalCellOverlap 
)

Definition at line 55 of file table_view.cpp.

Member Function Documentation

◆ cellAtLocation()

HighlightCell * TableView::ContentView::cellAtLocation ( int  i,
int  j 
)

Definition at line 121 of file table_view.cpp.

◆ dataSource()

TableViewDataSource * TableView::ContentView::dataSource ( )

Definition at line 68 of file table_view.cpp.

◆ minimalSizeForOptimalDisplay()

KDSize TableView::ContentView::minimalSizeForOptimalDisplay ( ) const
overridevirtual

Reimplemented from View.

Definition at line 64 of file table_view.cpp.

◆ reloadCellAtLocation()

void TableView::ContentView::reloadCellAtLocation ( int  i,
int  j 
)

Definition at line 98 of file table_view.cpp.

◆ resizeToFitContent()

void TableView::ContentView::resizeToFitContent ( )

Definition at line 78 of file table_view.cpp.

◆ scrollToCell()

void TableView::ContentView::scrollToCell ( int  i,
int  j 
) const

Definition at line 93 of file table_view.cpp.

◆ setHorizontalCellOverlap()

void TableView::ContentView::setHorizontalCellOverlap ( KDCoordinate  o)
inline

Definition at line 31 of file table_view.h.

◆ setVerticalCellOverlap()

void TableView::ContentView::setVerticalCellOverlap ( KDCoordinate  o)
inline

Definition at line 32 of file table_view.h.


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