Class: RAutomation::Adapter::MsUia::Spinner

Inherits:
Control
  • Object
show all
Defined in:
lib/rautomation/adapter/ms_uia/spinner.rb

Instance Method Summary collapse

Methods inherited from Control

#assert_enabled, #bounding_rectangle, #cached_hwnd, #click, #collapse, #control_class, #control_name, #disabled?, #enabled?, #exist?, #expand, #focus, #focused?, #get_current_control_type, #help_text, #hwnd, #initialize, #matches_type?, #new_pid, #search_information, #visible?

Constructor Details

This class inherits a constructor from RAutomation::Adapter::MsUia::Control

Instance Method Details

#decrement



25
26
27
# File 'lib/rautomation/adapter/ms_uia/spinner.rb', line 25

def decrement
  UiaDll::decrement_spinner(search_information)
end

#increment



21
22
23
# File 'lib/rautomation/adapter/ms_uia/spinner.rb', line 21

def increment
  UiaDll::increment_spinner(search_information)
end

#maximum



17
18
19
# File 'lib/rautomation/adapter/ms_uia/spinner.rb', line 17

def maximum
  UiaDll::spinner_max(search_information)
end

#minimum



13
14
15
# File 'lib/rautomation/adapter/ms_uia/spinner.rb', line 13

def minimum
  UiaDll::spinner_min(search_information)
end

#set(value)



5
6
7
# File 'lib/rautomation/adapter/ms_uia/spinner.rb', line 5

def set(value)
  UiaDll::set_spinner_value(search_information, value)
end

#value



9
10
11
# File 'lib/rautomation/adapter/ms_uia/spinner.rb', line 9

def value
  UiaDll::spinner_value(search_information)
end