Class: FunFX::Flex::Elements::FlexLegend

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

#click(item) ⇒ Object



1954
1955
1956
# File 'lib/funfx/flex/elements.rb', line 1954

def click(item)
  fire_event('Click', item)
end

#font_weightObject



1927
1928
1929
# File 'lib/funfx/flex/elements.rb', line 1927

def font_weight
  get_property_value('fontWeight', String)
end

#labelObject



1919
1920
1921
# File 'lib/funfx/flex/elements.rb', line 1919

def label
  get_property_value('label', String)
end

#label_placementObject



1931
1932
1933
# File 'lib/funfx/flex/elements.rb', line 1931

def label_placement
  get_property_value('labelPlacement', String)
end

#marker_aspect_ratioObject



1923
1924
1925
# File 'lib/funfx/flex/elements.rb', line 1923

def marker_aspect_ratio
  get_property_value('markerAspectRatio', Integer)
end

#marker_heightObject



1935
1936
1937
# File 'lib/funfx/flex/elements.rb', line 1935

def marker_height
  get_property_value('markerHeight', Integer)
end

#marker_widthObject



1939
1940
1941
# File 'lib/funfx/flex/elements.rb', line 1939

def marker_width
  get_property_value('markerWidth', Integer)
end

#padding_leftObject



1943
1944
1945
# File 'lib/funfx/flex/elements.rb', line 1943

def padding_left
  get_property_value('paddingLeft', Integer)
end

#padding_rightObject



1947
1948
1949
# File 'lib/funfx/flex/elements.rb', line 1947

def padding_right
  get_property_value('paddingRight', Integer)
end

#vertical_gapObject



1951
1952
1953
# File 'lib/funfx/flex/elements.rb', line 1951

def vertical_gap
  get_property_value('verticalGap', Integer)
end