Class: FakeUI::TableView

Inherits:
Object
  • Object
show all
Defined in:
lib/fakeui/table_view.rb

Instance Method Summary collapse

Instance Method Details

#numberOfRowsObject



18
19
20
# File 'lib/fakeui/table_view.rb', line 18

def numberOfRows
  @dataSource.numberOfRowsInTableView(self)
end

#reloadDataObject



7
8
# File 'lib/fakeui/table_view.rb', line 7

def reloadData
end

#scrollRowToVisible(row) ⇒ Object



22
23
# File 'lib/fakeui/table_view.rb', line 22

def scrollRowToVisible(row)
end

#selectedRowObject



14
15
16
# File 'lib/fakeui/table_view.rb', line 14

def selectedRow
  @row
end

#selectRow_byExtendingSelection(index, extendSelection) ⇒ Object



10
11
12
# File 'lib/fakeui/table_view.rb', line 10

def selectRow_byExtendingSelection(index, extendSelection)
  @row = index
end

#setDataSource(dataSource) ⇒ Object



3
4
5
# File 'lib/fakeui/table_view.rb', line 3

def setDataSource(dataSource)
  @dataSource = dataSource
end