Class: FunFX::Flex::Elements::FlexButton
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, #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
#color ⇒ Object
2485
2486
2487
|
# File 'lib/funfx/flex/elements.rb', line 2485
def color
get_property_value('color', String)
end
|
#disabled_color ⇒ Object
2489
2490
2491
|
# File 'lib/funfx/flex/elements.rb', line 2489
def disabled_color
get_property_value('disabledColor', String)
end
|
#enabled? ⇒ Boolean
2465
2466
2467
|
# File 'lib/funfx/flex/elements.rb', line 2465
def enabled?
get_property_value('enabled', TrueClass)
end
|
#fill_alphas ⇒ Object
2509
2510
2511
|
# File 'lib/funfx/flex/elements.rb', line 2509
def fill_alphas
get_property_value('fillAlphas', String)
end
|
#fill_colors ⇒ Object
2513
2514
2515
|
# File 'lib/funfx/flex/elements.rb', line 2513
def fill_colors
get_property_value('fillColors', String)
end
|
#focus_alpha ⇒ Object
2517
2518
2519
|
# File 'lib/funfx/flex/elements.rb', line 2517
def focus_alpha
get_property_value('focusAlpha', Integer)
end
|
#font_family ⇒ Object
2493
2494
2495
|
# File 'lib/funfx/flex/elements.rb', line 2493
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
2497
2498
2499
|
# File 'lib/funfx/flex/elements.rb', line 2497
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
2501
2502
2503
|
# File 'lib/funfx/flex/elements.rb', line 2501
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
2505
2506
2507
|
# File 'lib/funfx/flex/elements.rb', line 2505
def font_weight
get_property_value('fontWeight', String)
end
|
#label ⇒ Object
2469
2470
2471
|
# File 'lib/funfx/flex/elements.rb', line 2469
def label
get_property_value('label', String)
end
|
#label_placement ⇒ Object
2473
2474
2475
|
# File 'lib/funfx/flex/elements.rb', line 2473
def label_placement
get_property_value('labelPlacement', String)
end
|
#selected? ⇒ Boolean
2477
2478
2479
|
# File 'lib/funfx/flex/elements.rb', line 2477
def selected?
get_property_value('selected', TrueClass)
end
|
#text_align ⇒ Object
2521
2522
2523
|
# File 'lib/funfx/flex/elements.rb', line 2521
def text_align
get_property_value('textAlign', String)
end
|
#text_decoration ⇒ Object
2525
2526
2527
|
# File 'lib/funfx/flex/elements.rb', line 2525
def text_decoration
get_property_value('textDecoration', String)
end
|
#text_indent ⇒ Object
2529
2530
2531
|
# File 'lib/funfx/flex/elements.rb', line 2529
def text_indent
get_property_value('textIndent', Integer)
end
|
#text_roll_over_color ⇒ Object
2533
2534
2535
|
# File 'lib/funfx/flex/elements.rb', line 2533
def text_roll_over_color
get_property_value('textRollOverColor', String)
end
|
#text_selected_color ⇒ Object
2537
2538
2539
|
# File 'lib/funfx/flex/elements.rb', line 2537
def text_selected_color
get_property_value('textSelectedColor', String)
end
|
#toggle? ⇒ Boolean
2481
2482
2483
|
# File 'lib/funfx/flex/elements.rb', line 2481
def toggle?
get_property_value('toggle', TrueClass)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
2540
2541
2542
|
# File 'lib/funfx/flex/elements.rb', line 2540
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|