Class: FunFX::Flex::Elements::FlexContainer
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
#column_names, #num_columns, #num_rows, #values
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
#background_alpha ⇒ Object
1516
1517
1518
|
# File 'lib/funfx/flex/elements.rb', line 1516
def background_alpha
get_property_value('backgroundAlpha', Integer)
end
|
#background_color ⇒ Object
1520
1521
1522
|
# File 'lib/funfx/flex/elements.rb', line 1520
def background_color
get_property_value('backgroundColor', String)
end
|
#background_disabled_color ⇒ Object
1524
1525
1526
|
# File 'lib/funfx/flex/elements.rb', line 1524
def background_disabled_color
get_property_value('backgroundDisabledColor', String)
end
|
#background_image ⇒ Object
1528
1529
1530
|
# File 'lib/funfx/flex/elements.rb', line 1528
def background_image
get_property_value('backgroundImage', String)
end
|
#background_size ⇒ Object
1532
1533
1534
|
# File 'lib/funfx/flex/elements.rb', line 1532
def background_size
get_property_value('backgroundSize', String)
end
|
#creation_index ⇒ Object
1512
1513
1514
|
# File 'lib/funfx/flex/elements.rb', line 1512
def creation_index
get_property_value('creationIndex', Integer)
end
|
#creation_policy ⇒ Object
1508
1509
1510
|
# File 'lib/funfx/flex/elements.rb', line 1508
def creation_policy
get_property_value('creationPolicy', String)
end
|
#drag_cancel(key_modifier = ["0"]) ⇒ Object
1571
1572
1573
|
# File 'lib/funfx/flex/elements.rb', line 1571
def drag_cancel(key_modifier=["0"])
fire_event('DragCancel', key_modifier)
end
|
#drag_drop(action, dragged_item = "", key_modifier = ["0"]) ⇒ Object
1568
1569
1570
|
# File 'lib/funfx/flex/elements.rb', line 1568
def drag_drop(action, dragged_item="", key_modifier=["0"])
fire_event('DragDrop', action, dragged_item, key_modifier)
end
|
#drag_start(dragged_item, key_modifier = ["0"]) ⇒ Object
1565
1566
1567
|
# File 'lib/funfx/flex/elements.rb', line 1565
def drag_start(dragged_item, key_modifier=["0"])
fire_event('DragStart', dragged_item, key_modifier)
end
|
#fill_alphas ⇒ Object
1552
1553
1554
|
# File 'lib/funfx/flex/elements.rb', line 1552
def fill_alphas
get_property_value('fillAlphas', String)
end
|
#fill_colors ⇒ Object
1556
1557
1558
|
# File 'lib/funfx/flex/elements.rb', line 1556
def fill_colors
get_property_value('fillColors', String)
end
|
#font_family ⇒ Object
1536
1537
1538
|
# File 'lib/funfx/flex/elements.rb', line 1536
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
1540
1541
1542
|
# File 'lib/funfx/flex/elements.rb', line 1540
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
1544
1545
1546
|
# File 'lib/funfx/flex/elements.rb', line 1544
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
1548
1549
1550
|
# File 'lib/funfx/flex/elements.rb', line 1548
def font_weight
get_property_value('fontWeight', String)
end
|
#label ⇒ Object
1504
1505
1506
|
# File 'lib/funfx/flex/elements.rb', line 1504
def label
get_property_value('label', String)
end
|
1559
1560
1561
|
# File 'lib/funfx/flex/elements.rb', line 1559
def mouse_scroll(delta=0)
fire_event('MouseScroll', delta)
end
|
#num_children ⇒ Object
1500
1501
1502
|
# File 'lib/funfx/flex/elements.rb', line 1500
def num_children
get_property_value('numChildren', Integer)
end
|
1562
1563
1564
|
# File 'lib/funfx/flex/elements.rb', line 1562
def scroll(position, direction, detail=["null"])
fire_event('Scroll', position, direction, detail)
end
|