Sha256: 93bfea59ce76d943b8c3e0ab446e78ba50c45ea7fd1f4ba95a8379d1d0240fa5

Contents?: true

Size: 515 Bytes

Versions: 13

Compression:

Stored size: 515 Bytes

Contents

module Uia
  module Patterns
    module SelectionItem
      def select
        Library.select @element
      end

      def add_to_selection
        Library.add_to_selection @element
      end

      def remove_from_selection
        Library.remove_from_selection @element
      end

      def selected?
        Library.selection_item_info(@element).selected?
      end

      def container
        Uia::Element.new Library.selection_item_info(@element).container
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
uia-0.1.2.2 lib/uia/patterns/selection_item.rb
uia-0.1.2.1 lib/uia/patterns/selection_item.rb
uia-0.1.2 lib/uia/patterns/selection_item.rb
uia-0.1.1 lib/uia/patterns/selection_item.rb
uia-0.1 lib/uia/patterns/selection_item.rb
uia-0.0.9 lib/uia/patterns/selection_item.rb
uia-0.0.8 lib/uia/patterns/selection_item.rb
uia-0.0.7.3 lib/uia/patterns/selection_item.rb
uia-0.0.7.2 lib/uia/patterns/selection_item.rb
uia-0.0.7.1 lib/uia/patterns/selection_item.rb
uia-0.0.7 lib/uia/patterns/selection_item.rb
uia-0.0.6.1 lib/uia/patterns/selection_item.rb
uia-0.0.6 lib/uia/patterns/selection_item.rb