module Uia::Patterns::SelectionItem

Public Instance Methods

add_to_selection() click to toggle source
# File lib/uia/patterns/selection_item.rb, line 8
def add_to_selection
  Library.add_to_selection @element
end
container() click to toggle source
# File lib/uia/patterns/selection_item.rb, line 20
def container
  container = Library.selection_item_info(@element).container
  Uia::Element.new container if container
end
remove_from_selection() click to toggle source
# File lib/uia/patterns/selection_item.rb, line 12
def remove_from_selection
  Library.remove_from_selection @element
end
select() click to toggle source
# File lib/uia/patterns/selection_item.rb, line 4
def select
  Library.select @element
end
selected?() click to toggle source
# File lib/uia/patterns/selection_item.rb, line 16
def selected?
  Library.selection_item_info(@element).selected?
end