module Uia::Patterns::Table

Public Instance Methods

column_count() click to toggle source
# File lib/uia/patterns/table.rb, line 14
def column_count
  table_info.column_count
end
headers() click to toggle source
# File lib/uia/patterns/table.rb, line 18
def headers
  Library.table_headers @element
end
row_at(index) click to toggle source
# File lib/uia/patterns/table.rb, line 22
def row_at(index)
  Library.table_row(@element, index).extend Row
end
row_count() click to toggle source
# File lib/uia/patterns/table.rb, line 10
def row_count
  table_info.row_count
end
rows() click to toggle source
# File lib/uia/patterns/table.rb, line 26
def rows
  find_all(control_type: :data_item).each { |e| e.extend Row }
end

Private Instance Methods

table_info() click to toggle source
# File lib/uia/patterns/table.rb, line 31
def table_info
  Library.table_info(@element)
end