Class: FunFX::Flex::Elements::FlexContainer

Inherits:
FlexObject show all
Includes:
TabularData
Defined in:
lib/funfx/flex/elements.rb

Constant Summary

Constants inherited from FunFX::Flex::Element

FunFX::Flex::Element::MAX_TRIES

Instance Attribute Summary

Attributes inherited from FunFX::Flex::Element

#flex_app, #flex_locator

Instance Method Summary collapse

Methods included from TabularData

#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?

Methods inherited from FlexDisplayObject

#alpha, #click, #height, #mouse_enabled?, #mouse_move, #tab_children?, #tab_enabled?, #tab_index, #visible?, #width, #x, #y

Methods inherited from FunFX::Flex::Element

#fire_event, #flex_invoke, #get_property_value, #get_tabular_property_value, #initialize, #invoke_tabular_method, #label_element, #raise_if_funfx_error, #shift_case

Constructor Details

This class inherits a constructor from FunFX::Flex::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FunFX::Flex::Element

Instance Method Details

#background_alphaObject



1516
1517
1518
# File 'lib/funfx/flex/elements.rb', line 1516

def background_alpha
  get_property_value('backgroundAlpha', Integer)
end

#background_colorObject



1520
1521
1522
# File 'lib/funfx/flex/elements.rb', line 1520

def background_color
  get_property_value('backgroundColor', String)
end

#background_disabled_colorObject



1524
1525
1526
# File 'lib/funfx/flex/elements.rb', line 1524

def background_disabled_color
  get_property_value('backgroundDisabledColor', String)
end

#background_imageObject



1528
1529
1530
# File 'lib/funfx/flex/elements.rb', line 1528

def background_image
  get_property_value('backgroundImage', String)
end

#background_sizeObject



1532
1533
1534
# File 'lib/funfx/flex/elements.rb', line 1532

def background_size
  get_property_value('backgroundSize', String)
end

#creation_indexObject



1512
1513
1514
# File 'lib/funfx/flex/elements.rb', line 1512

def creation_index
  get_property_value('creationIndex', Integer)
end

#creation_policyObject



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_alphasObject



1552
1553
1554
# File 'lib/funfx/flex/elements.rb', line 1552

def fill_alphas
  get_property_value('fillAlphas', String)
end

#fill_colorsObject



1556
1557
1558
# File 'lib/funfx/flex/elements.rb', line 1556

def fill_colors
  get_property_value('fillColors', String)
end

#font_familyObject



1536
1537
1538
# File 'lib/funfx/flex/elements.rb', line 1536

def font_family
  get_property_value('fontFamily', String)
end

#font_sizeObject



1540
1541
1542
# File 'lib/funfx/flex/elements.rb', line 1540

def font_size
  get_property_value('fontSize', Integer)
end

#font_styleObject



1544
1545
1546
# File 'lib/funfx/flex/elements.rb', line 1544

def font_style
  get_property_value('fontStyle', String)
end

#font_weightObject



1548
1549
1550
# File 'lib/funfx/flex/elements.rb', line 1548

def font_weight
  get_property_value('fontWeight', String)
end

#labelObject



1504
1505
1506
# File 'lib/funfx/flex/elements.rb', line 1504

def label
  get_property_value('label', String)
end

#mouse_scroll(delta = 0) ⇒ Object



1559
1560
1561
# File 'lib/funfx/flex/elements.rb', line 1559

def mouse_scroll(delta=0)
  fire_event('MouseScroll', delta)
end

#num_childrenObject



1500
1501
1502
# File 'lib/funfx/flex/elements.rb', line 1500

def num_children
  get_property_value('numChildren', Integer)
end

#scroll(position, direction, detail = ["null"]) ⇒ Object



1562
1563
1564
# File 'lib/funfx/flex/elements.rb', line 1562

def scroll(position, direction, detail=["null"])
  fire_event('Scroll', position, direction, detail)
end