Class: FunFX::Flex::Elements::FlexAccordion

Inherits:
FlexContainer 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 FlexContainer

#background_alpha, #background_color, #background_disabled_color, #background_image, #background_size, #creation_index, #creation_policy, #drag_cancel, #drag_drop, #drag_start, #fill_alphas, #fill_colors, #font_family, #font_size, #font_style, #font_weight, #label, #mouse_scroll, #num_children, #scroll

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

#change(related_object = "mouse") ⇒ Object



1885
1886
1887
# File 'lib/funfx/flex/elements.rb', line 1885

def change(related_object="mouse")
  fire_event('Change', related_object)
end

#header_heightObject



1862
1863
1864
# File 'lib/funfx/flex/elements.rb', line 1862

def header_height
  get_property_value('headerHeight', Integer)
end

#horizontal_gapObject



1866
1867
1868
# File 'lib/funfx/flex/elements.rb', line 1866

def horizontal_gap
  get_property_value('horizontalGap', Integer)
end

#padding_bottomObject



1874
1875
1876
# File 'lib/funfx/flex/elements.rb', line 1874

def padding_bottom
  get_property_value('paddingBottom', Integer)
end

#padding_topObject



1870
1871
1872
# File 'lib/funfx/flex/elements.rb', line 1870

def padding_top
  get_property_value('paddingTop', Integer)
end

#selected_childObject



1858
1859
1860
# File 'lib/funfx/flex/elements.rb', line 1858

def selected_child
  get_property_value('selectedChild', String)
end

#selected_indexObject



1854
1855
1856
# File 'lib/funfx/flex/elements.rb', line 1854

def selected_index
  get_property_value('selectedIndex', Integer)
end

#text_selected_colorObject



1878
1879
1880
# File 'lib/funfx/flex/elements.rb', line 1878

def text_selected_color
  get_property_value('textSelectedColor', String)
end

#type(key_code, key_modifier = ["0"]) ⇒ Object



1888
1889
1890
# File 'lib/funfx/flex/elements.rb', line 1888

def type(key_code, key_modifier=["0"])
  fire_event('Type', key_code, key_modifier)
end

#vertical_gapObject



1882
1883
1884
# File 'lib/funfx/flex/elements.rb', line 1882

def vertical_gap
  get_property_value('verticalGap', Integer)
end