Class: FunFX::Flex::Elements::FlexListBase
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
-
#allow_multiple_selection? ⇒ Boolean
-
#alternating_row_colors ⇒ Object
-
#background_disabled_color ⇒ Object
-
#column_count ⇒ Object
-
#column_width ⇒ Object
-
#data_tip_field ⇒ Object
-
#deselect(item_renderer, trigger_event = ["1"], key_modifier = ["0"]) ⇒ Object
-
#double_click(item_renderer) ⇒ Object
-
#drag_cancel(key_modifier = ["0"]) ⇒ Object
-
#drag_drop(action, dragged_item = "", key_modifier = ["0"]) ⇒ Object
-
#drag_start(dragged_item, key_modifier = ["0"]) ⇒ Object
-
#focus_alpha ⇒ Object
-
#icon_field ⇒ Object
-
#label_field ⇒ Object
-
#locked_column_count ⇒ Object
-
#locked_row_count ⇒ Object
-
#mouse_scroll(delta = 0) ⇒ Object
-
#multi_select(item_renderer, trigger_event = ["1"], key_modifier = ["0"]) ⇒ Object
-
#num_automation_children ⇒ Object
-
#roll_over_color ⇒ Object
-
#row_count ⇒ Object
-
#row_height ⇒ Object
-
#scroll(position, direction, detail = ["null"]) ⇒ Object
-
#select(item_renderer, trigger_event = ["1"], key_modifier = ["0"]) ⇒ Object
-
#selectable? ⇒ Boolean
-
#selected_index ⇒ Object
-
#selected_indices ⇒ Object
-
#selected_item ⇒ Object
-
#selected_items ⇒ Object
-
#selection_color ⇒ Object
-
#selection_disabled_color ⇒ Object
-
#show_data_tips? ⇒ Boolean
-
#text_roll_over_color ⇒ Object
-
#text_selected_color ⇒ Object
-
#type(key_code, key_modifier = ["0"]) ⇒ Object
-
#use_roll_over? ⇒ Boolean
-
#variable_row_height? ⇒ Boolean
-
#vertical_align ⇒ Object
-
#word_wrap? ⇒ Boolean
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, #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
#allow_multiple_selection? ⇒ Boolean
863
864
865
|
# File 'lib/funfx/flex/elements.rb', line 863
def allow_multiple_selection?
get_property_value('allowMultipleSelection', TrueClass)
end
|
#alternating_row_colors ⇒ Object
911
912
913
|
# File 'lib/funfx/flex/elements.rb', line 911
def alternating_row_colors
get_property_value('alternatingRowColors', String)
end
|
#background_disabled_color ⇒ Object
939
940
941
|
# File 'lib/funfx/flex/elements.rb', line 939
def background_disabled_color
get_property_value('backgroundDisabledColor', String)
end
|
#column_count ⇒ Object
835
836
837
|
# File 'lib/funfx/flex/elements.rb', line 835
def column_count
get_property_value('columnCount', Integer)
end
|
#column_width ⇒ Object
839
840
841
|
# File 'lib/funfx/flex/elements.rb', line 839
def column_width
get_property_value('columnWidth', Integer)
end
|
#data_tip_field ⇒ Object
843
844
845
|
# File 'lib/funfx/flex/elements.rb', line 843
def data_tip_field
get_property_value('dataTipField', String)
end
|
#deselect(item_renderer, trigger_event = ["1"], key_modifier = ["0"]) ⇒ Object
968
969
970
|
# File 'lib/funfx/flex/elements.rb', line 968
def deselect(item_renderer, trigger_event=["1"], key_modifier=["0"])
fire_event('Deselect', item_renderer, trigger_event, key_modifier)
end
|
#double_click(item_renderer) ⇒ Object
977
978
979
|
# File 'lib/funfx/flex/elements.rb', line 977
def double_click(item_renderer)
fire_event('DoubleClick', item_renderer)
end
|
#drag_cancel(key_modifier = ["0"]) ⇒ Object
959
960
961
|
# File 'lib/funfx/flex/elements.rb', line 959
def drag_cancel(key_modifier=["0"])
fire_event('DragCancel', key_modifier)
end
|
#drag_drop(action, dragged_item = "", key_modifier = ["0"]) ⇒ Object
956
957
958
|
# File 'lib/funfx/flex/elements.rb', line 956
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
953
954
955
|
# File 'lib/funfx/flex/elements.rb', line 953
def drag_start(dragged_item, key_modifier=["0"])
fire_event('DragStart', dragged_item, key_modifier)
end
|
#focus_alpha ⇒ Object
915
916
917
|
# File 'lib/funfx/flex/elements.rb', line 915
def focus_alpha
get_property_value('focusAlpha', Integer)
end
|
#icon_field ⇒ Object
847
848
849
|
# File 'lib/funfx/flex/elements.rb', line 847
def icon_field
get_property_value('iconField', String)
end
|
#label_field ⇒ Object
851
852
853
|
# File 'lib/funfx/flex/elements.rb', line 851
def label_field
get_property_value('labelField', String)
end
|
#locked_column_count ⇒ Object
855
856
857
|
# File 'lib/funfx/flex/elements.rb', line 855
def locked_column_count
get_property_value('lockedColumnCount', Integer)
end
|
#locked_row_count ⇒ Object
859
860
861
|
# File 'lib/funfx/flex/elements.rb', line 859
def locked_row_count
get_property_value('lockedRowCount', Integer)
end
|
950
951
952
|
# File 'lib/funfx/flex/elements.rb', line 950
def mouse_scroll(delta=0)
fire_event('MouseScroll', delta)
end
|
#multi_select(item_renderer, trigger_event = ["1"], key_modifier = ["0"]) ⇒ Object
965
966
967
|
# File 'lib/funfx/flex/elements.rb', line 965
def multi_select(item_renderer, trigger_event=["1"], key_modifier=["0"])
fire_event('MultiSelect', item_renderer, trigger_event, key_modifier)
end
|
#num_automation_children ⇒ Object
867
868
869
|
# File 'lib/funfx/flex/elements.rb', line 867
def num_automation_children
get_property_value('numAutomationChildren', Integer)
end
|
#roll_over_color ⇒ Object
919
920
921
|
# File 'lib/funfx/flex/elements.rb', line 919
def roll_over_color
get_property_value('rollOverColor', String)
end
|
#row_count ⇒ Object
871
872
873
|
# File 'lib/funfx/flex/elements.rb', line 871
def row_count
get_property_value('rowCount', Integer)
end
|
#row_height ⇒ Object
875
876
877
|
# File 'lib/funfx/flex/elements.rb', line 875
def row_height
get_property_value('rowHeight', Integer)
end
|
971
972
973
|
# File 'lib/funfx/flex/elements.rb', line 971
def scroll(position, direction, detail=["null"])
fire_event('Scroll', position, direction, detail)
end
|
#select(item_renderer, trigger_event = ["1"], key_modifier = ["0"]) ⇒ Object
962
963
964
|
# File 'lib/funfx/flex/elements.rb', line 962
def select(item_renderer, trigger_event=["1"], key_modifier=["0"])
fire_event('Select', item_renderer, trigger_event, key_modifier)
end
|
#selectable? ⇒ Boolean
879
880
881
|
# File 'lib/funfx/flex/elements.rb', line 879
def selectable?
get_property_value('selectable', TrueClass)
end
|
#selected_index ⇒ Object
883
884
885
|
# File 'lib/funfx/flex/elements.rb', line 883
def selected_index
get_property_value('selectedIndex', Integer)
end
|
#selected_indices ⇒ Object
887
888
889
|
# File 'lib/funfx/flex/elements.rb', line 887
def selected_indices
get_property_value('selectedIndices', String)
end
|
#selected_item ⇒ Object
891
892
893
|
# File 'lib/funfx/flex/elements.rb', line 891
def selected_item
get_property_value('selectedItem', String)
end
|
#selected_items ⇒ Object
895
896
897
|
# File 'lib/funfx/flex/elements.rb', line 895
def selected_items
get_property_value('selectedItems', String)
end
|
#selection_color ⇒ Object
923
924
925
|
# File 'lib/funfx/flex/elements.rb', line 923
def selection_color
get_property_value('selectionColor', String)
end
|
#selection_disabled_color ⇒ Object
927
928
929
|
# File 'lib/funfx/flex/elements.rb', line 927
def selection_disabled_color
get_property_value('selectionDisabledColor', String)
end
|
#show_data_tips? ⇒ Boolean
899
900
901
|
# File 'lib/funfx/flex/elements.rb', line 899
def show_data_tips?
get_property_value('showDataTips', TrueClass)
end
|
#text_roll_over_color ⇒ Object
931
932
933
|
# File 'lib/funfx/flex/elements.rb', line 931
def text_roll_over_color
get_property_value('textRollOverColor', String)
end
|
#text_selected_color ⇒ Object
935
936
937
|
# File 'lib/funfx/flex/elements.rb', line 935
def text_selected_color
get_property_value('textSelectedColor', String)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
974
975
976
|
# File 'lib/funfx/flex/elements.rb', line 974
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|
#use_roll_over? ⇒ Boolean
943
944
945
|
# File 'lib/funfx/flex/elements.rb', line 943
def use_roll_over?
get_property_value('useRollOver', TrueClass)
end
|
#variable_row_height? ⇒ Boolean
903
904
905
|
# File 'lib/funfx/flex/elements.rb', line 903
def variable_row_height?
get_property_value('variableRowHeight', TrueClass)
end
|
#vertical_align ⇒ Object
947
948
949
|
# File 'lib/funfx/flex/elements.rb', line 947
def vertical_align
get_property_value('verticalAlign', String)
end
|
#word_wrap? ⇒ Boolean
907
908
909
|
# File 'lib/funfx/flex/elements.rb', line 907
def word_wrap?
get_property_value('wordWrap', TrueClass)
end
|