Class: FunFX::Flex::Elements::FlexMenu
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
#alternating_row_colors ⇒ Object
264
265
266
|
# File 'lib/funfx/flex/elements.rb', line 264
def alternating_row_colors
get_property_value('alternatingRowColors', String)
end
|
#hide ⇒ Object
289
290
291
|
# File 'lib/funfx/flex/elements.rb', line 289
def hide()
fire_event('Hide')
end
|
#roll_over_color ⇒ Object
268
269
270
|
# File 'lib/funfx/flex/elements.rb', line 268
def roll_over_color
get_property_value('rollOverColor', String)
end
|
#row_count ⇒ Object
256
257
258
|
# File 'lib/funfx/flex/elements.rb', line 256
def row_count
get_property_value('rowCount', Integer)
end
|
#select(item_renderer) ⇒ Object
292
293
294
|
# File 'lib/funfx/flex/elements.rb', line 292
def select(item_renderer)
fire_event('Select', item_renderer)
end
|
#selected_index ⇒ Object
260
261
262
|
# File 'lib/funfx/flex/elements.rb', line 260
def selected_index
get_property_value('selectedIndex', Integer)
end
|
#selection_color ⇒ Object
272
273
274
|
# File 'lib/funfx/flex/elements.rb', line 272
def selection_color
get_property_value('selectionColor', String)
end
|
#show(item_renderer) ⇒ Object
286
287
288
|
# File 'lib/funfx/flex/elements.rb', line 286
def show(item_renderer)
fire_event('Show', item_renderer)
end
|
#text_roll_over_color ⇒ Object
276
277
278
|
# File 'lib/funfx/flex/elements.rb', line 276
def text_roll_over_color
get_property_value('textRollOverColor', String)
end
|
#text_selected_color ⇒ Object
280
281
282
|
# File 'lib/funfx/flex/elements.rb', line 280
def text_selected_color
get_property_value('textSelectedColor', String)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
283
284
285
|
# File 'lib/funfx/flex/elements.rb', line 283
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|