Class: FunFX::Flex::Elements::FlexDisplayObject
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
#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
#alpha ⇒ Object
27
28
29
|
# File 'lib/funfx/flex/elements.rb', line 27
def alpha
get_property_value('alpha', Integer)
end
|
#click(key_modifier = ["0"]) ⇒ Object
53
54
55
|
# File 'lib/funfx/flex/elements.rb', line 53
def click(key_modifier=["0"])
fire_event('Click', key_modifier)
end
|
#height ⇒ Object
31
32
33
|
# File 'lib/funfx/flex/elements.rb', line 31
def height
get_property_value('height', Integer)
end
|
#mouse_enabled? ⇒ Boolean
23
24
25
|
# File 'lib/funfx/flex/elements.rb', line 23
def mouse_enabled?
get_property_value('mouseEnabled', TrueClass)
end
|
#mouse_move(local_x = 0, local_y = 0, key_modifier = ["0"]) ⇒ Object
50
51
52
|
# File 'lib/funfx/flex/elements.rb', line 50
def mouse_move(local_x=0, local_y=0, key_modifier=["0"])
fire_event('MouseMove', local_x, local_y, key_modifier)
end
|
#tab_children? ⇒ Boolean
11
12
13
|
# File 'lib/funfx/flex/elements.rb', line 11
def tab_children?
get_property_value('tabChildren', TrueClass)
end
|
#tab_enabled? ⇒ Boolean
15
16
17
|
# File 'lib/funfx/flex/elements.rb', line 15
def tab_enabled?
get_property_value('tabEnabled', TrueClass)
end
|
#tab_index ⇒ Object
19
20
21
|
# File 'lib/funfx/flex/elements.rb', line 19
def tab_index
get_property_value('tabIndex', Integer)
end
|
#visible? ⇒ Boolean
35
36
37
|
# File 'lib/funfx/flex/elements.rb', line 35
def visible?
get_property_value('visible', TrueClass)
end
|
#width ⇒ Object
39
40
41
|
# File 'lib/funfx/flex/elements.rb', line 39
def width
get_property_value('width', Integer)
end
|
#x ⇒ Object
43
44
45
|
# File 'lib/funfx/flex/elements.rb', line 43
def x
get_property_value('x', Integer)
end
|
#y ⇒ Object
47
48
49
|
# File 'lib/funfx/flex/elements.rb', line 47
def y
get_property_value('y', Integer)
end
|