Class: FunFX::Flex::Elements::FlexNumericStepper
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
Methods inherited from FlexObject
#automation_class_name, #automation_index, #automation_name, #change_focus, #class_name, #current_state, #enabled?, #error_color, #error_string, #focus_enabled?, #id, #num_automation_children, #percent_height, #percent_width, #scale_x, #scale_y, #theme_color, #tool_tip, #use_hand_cursor?
#alpha, #click, #height, #mouse_enabled?, #mouse_move, #tab_children?, #tab_enabled?, #tab_index, #visible?, #width, #x, #y
#fire_event, #flex_invoke, #get_property_value, #get_tabular_property_value, #initialize, #invoke_tabular_method, #label_element, #raise_if_funfx_error, #shift_case
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class FunFX::Flex::Element
Instance Method Details
#change(value) ⇒ Object
2445
2446
2447
|
# File 'lib/funfx/flex/elements.rb', line 2445
def change(value)
fire_event('Change', value)
end
|
#color ⇒ Object
2406
2407
2408
|
# File 'lib/funfx/flex/elements.rb', line 2406
def color
get_property_value('color', Integer)
end
|
#disabled_color ⇒ Object
2410
2411
2412
|
# File 'lib/funfx/flex/elements.rb', line 2410
def disabled_color
get_property_value('disabledColor', String)
end
|
#fill_colors ⇒ Object
2414
2415
2416
|
# File 'lib/funfx/flex/elements.rb', line 2414
def fill_colors
get_property_value('fillColors', String)
end
|
#font_family ⇒ Object
2418
2419
2420
|
# File 'lib/funfx/flex/elements.rb', line 2418
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
2422
2423
2424
|
# File 'lib/funfx/flex/elements.rb', line 2422
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
2426
2427
2428
|
# File 'lib/funfx/flex/elements.rb', line 2426
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
2430
2431
2432
|
# File 'lib/funfx/flex/elements.rb', line 2430
def font_weight
get_property_value('fontWeight', String)
end
|
2448
2449
2450
|
# File 'lib/funfx/flex/elements.rb', line 2448
def input(text)
fire_event('Input', text)
end
|
#maximum ⇒ Object
2390
2391
2392
|
# File 'lib/funfx/flex/elements.rb', line 2390
def maximum
get_property_value('maximum', Integer)
end
|
#minimum ⇒ Object
2386
2387
2388
|
# File 'lib/funfx/flex/elements.rb', line 2386
def minimum
get_property_value('minimum', Integer)
end
|
#next_value ⇒ Object
2394
2395
2396
|
# File 'lib/funfx/flex/elements.rb', line 2394
def next_value
get_property_value('nextValue', Integer)
end
|
#previous_value ⇒ Object
2398
2399
2400
|
# File 'lib/funfx/flex/elements.rb', line 2398
def previous_value
get_property_value('previousValue', Integer)
end
|
#select_text(begin_index, end_index) ⇒ Object
2451
2452
2453
|
# File 'lib/funfx/flex/elements.rb', line 2451
def select_text(begin_index, end_index)
fire_event('SelectText', begin_index, end_index)
end
|
#step_size ⇒ Object
2402
2403
2404
|
# File 'lib/funfx/flex/elements.rb', line 2402
def step_size
get_property_value('stepSize', Integer)
end
|
#text_align ⇒ Object
2434
2435
2436
|
# File 'lib/funfx/flex/elements.rb', line 2434
def text_align
get_property_value('textAlign', String)
end
|
#text_decoration ⇒ Object
2438
2439
2440
|
# File 'lib/funfx/flex/elements.rb', line 2438
def text_decoration
get_property_value('textDecoration', String)
end
|
#text_indent ⇒ Object
2442
2443
2444
|
# File 'lib/funfx/flex/elements.rb', line 2442
def text_indent
get_property_value('textIndent', Integer)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
2454
2455
2456
|
# File 'lib/funfx/flex/elements.rb', line 2454
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|
#value ⇒ Object
2382
2383
2384
|
# File 'lib/funfx/flex/elements.rb', line 2382
def value
get_property_value('value', Integer)
end
|