Class: FunFX::Flex::Elements::FlexListBase

Inherits:
FlexScrollBase show all
Defined in:
lib/funfx/flex/elements.rb

Direct Known Subclasses

FlexDataGrid, FlexList, FlexTree

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

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

#allow_multiple_selection?Boolean

Returns:

  • (Boolean)


863
864
865
# File 'lib/funfx/flex/elements.rb', line 863

def allow_multiple_selection?
  get_property_value('allowMultipleSelection', TrueClass)
end

#alternating_row_colorsObject



911
912
913
# File 'lib/funfx/flex/elements.rb', line 911

def alternating_row_colors
  get_property_value('alternatingRowColors', String)
end

#background_disabled_colorObject



939
940
941
# File 'lib/funfx/flex/elements.rb', line 939

def background_disabled_color
  get_property_value('backgroundDisabledColor', String)
end

#column_countObject



835
836
837
# File 'lib/funfx/flex/elements.rb', line 835

def column_count
  get_property_value('columnCount', Integer)
end

#column_widthObject



839
840
841
# File 'lib/funfx/flex/elements.rb', line 839

def column_width
  get_property_value('columnWidth', Integer)
end

#data_tip_fieldObject



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_alphaObject



915
916
917
# File 'lib/funfx/flex/elements.rb', line 915

def focus_alpha
  get_property_value('focusAlpha', Integer)
end

#icon_fieldObject



847
848
849
# File 'lib/funfx/flex/elements.rb', line 847

def icon_field
  get_property_value('iconField', String)
end

#label_fieldObject



851
852
853
# File 'lib/funfx/flex/elements.rb', line 851

def label_field
  get_property_value('labelField', String)
end

#locked_column_countObject



855
856
857
# File 'lib/funfx/flex/elements.rb', line 855

def locked_column_count
  get_property_value('lockedColumnCount', Integer)
end

#locked_row_countObject



859
860
861
# File 'lib/funfx/flex/elements.rb', line 859

def locked_row_count
  get_property_value('lockedRowCount', Integer)
end

#mouse_scroll(delta = 0) ⇒ Object



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_childrenObject



867
868
869
# File 'lib/funfx/flex/elements.rb', line 867

def num_automation_children
  get_property_value('numAutomationChildren', Integer)
end

#roll_over_colorObject



919
920
921
# File 'lib/funfx/flex/elements.rb', line 919

def roll_over_color
  get_property_value('rollOverColor', String)
end

#row_countObject



871
872
873
# File 'lib/funfx/flex/elements.rb', line 871

def row_count
  get_property_value('rowCount', Integer)
end

#row_heightObject



875
876
877
# File 'lib/funfx/flex/elements.rb', line 875

def row_height
  get_property_value('rowHeight', Integer)
end

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



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

Returns:

  • (Boolean)


879
880
881
# File 'lib/funfx/flex/elements.rb', line 879

def selectable?
  get_property_value('selectable', TrueClass)
end

#selected_indexObject



883
884
885
# File 'lib/funfx/flex/elements.rb', line 883

def selected_index
  get_property_value('selectedIndex', Integer)
end

#selected_indicesObject



887
888
889
# File 'lib/funfx/flex/elements.rb', line 887

def selected_indices
  get_property_value('selectedIndices', String)
end

#selected_itemObject



891
892
893
# File 'lib/funfx/flex/elements.rb', line 891

def selected_item
  get_property_value('selectedItem', String)
end

#selected_itemsObject



895
896
897
# File 'lib/funfx/flex/elements.rb', line 895

def selected_items
  get_property_value('selectedItems', String)
end

#selection_colorObject



923
924
925
# File 'lib/funfx/flex/elements.rb', line 923

def selection_color
  get_property_value('selectionColor', String)
end

#selection_disabled_colorObject



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

Returns:

  • (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_colorObject



931
932
933
# File 'lib/funfx/flex/elements.rb', line 931

def text_roll_over_color
  get_property_value('textRollOverColor', String)
end

#text_selected_colorObject



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

Returns:

  • (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

Returns:

  • (Boolean)


903
904
905
# File 'lib/funfx/flex/elements.rb', line 903

def variable_row_height?
  get_property_value('variableRowHeight', TrueClass)
end

#vertical_alignObject



947
948
949
# File 'lib/funfx/flex/elements.rb', line 947

def vertical_align
  get_property_value('verticalAlign', String)
end

#word_wrap?Boolean

Returns:

  • (Boolean)


907
908
909
# File 'lib/funfx/flex/elements.rb', line 907

def word_wrap?
  get_property_value('wordWrap', TrueClass)
end