5 TableView(dataSource, selectionDataSource),
7 m_selectionDataSource(selectionDataSource),
53 unhighlightSelectedCell();
57 unhighlightSelectedCell();
74 unhighlightSelectedCell();
86 if ((i != previousX || j != previousY) && setFirstResponder) {
123 void SelectableTableView::unhighlightSelectedCell() {
HighlightCell * selectedCell()
SelectableTableView(Responder *parentResponder, TableViewDataSource *dataSource, SelectableTableViewDataSource *selectionDataSource=nullptr, SelectableTableViewDelegate *delegate=nullptr)
SelectableTableViewDelegate * m_delegate
void layoutSubviews() override
virtual void tableViewDidChangeSelection(SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY)
bool selectCellAtLocation(int i, int j, bool setFirstResponder=true)
virtual void scrollToCell(int i, int j)
HighlightCell * cellAtLocation(int i, int j)
virtual void didEnterResponderChain(Responder *previousFirstResponder) override
TableViewDataSource * dataSource()
void reloadData(bool setFirstResponder=true)
virtual Responder * responder()
constexpr uint8_t numberOfColumns
void setFirstResponder(Responder *responder)
virtual bool handleEvent(Ion::Events::Event event) override
virtual void willExitResponderChain(Responder *nextFirstResponder) override
constexpr uint8_t numberOfRows
virtual void setHighlighted(bool highlight)
SelectableTableViewDataSource * m_selectionDataSource