Class: FunFX::Flex::Elements::FlexLabel
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, #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
#click(ctrl_key, alt_key, shift_key) ⇒ Object
346
347
348
|
# File 'lib/funfx/flex/elements.rb', line 346
def click(ctrl_key, alt_key, shift_key)
fire_event('Click', ctrl_key, alt_key, shift_key)
end
|
#color ⇒ Object
311
312
313
|
# File 'lib/funfx/flex/elements.rb', line 311
def color
get_property_value('color', String)
end
|
#disabled_color ⇒ Object
315
316
317
|
# File 'lib/funfx/flex/elements.rb', line 315
def disabled_color
get_property_value('disabledColor', String)
end
|
#font_family ⇒ Object
319
320
321
|
# File 'lib/funfx/flex/elements.rb', line 319
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
323
324
325
|
# File 'lib/funfx/flex/elements.rb', line 323
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
327
328
329
|
# File 'lib/funfx/flex/elements.rb', line 327
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
331
332
333
|
# File 'lib/funfx/flex/elements.rb', line 331
def font_weight
get_property_value('fontWeight', String)
end
|
#html_text ⇒ Object
307
308
309
|
# File 'lib/funfx/flex/elements.rb', line 307
def html_text
get_property_value('htmlText', String)
end
|
#text ⇒ Object
303
304
305
|
# File 'lib/funfx/flex/elements.rb', line 303
def text
get_property_value('text', String)
end
|
#text_align ⇒ Object
335
336
337
|
# File 'lib/funfx/flex/elements.rb', line 335
def text_align
get_property_value('textAlign', String)
end
|
#text_decoration ⇒ Object
339
340
341
|
# File 'lib/funfx/flex/elements.rb', line 339
def text_decoration
get_property_value('textDecoration', String)
end
|
#text_indent ⇒ Object
343
344
345
|
# File 'lib/funfx/flex/elements.rb', line 343
def text_indent
get_property_value('textIndent', Integer)
end
|