Class: FunFX::Flex::Elements::FlexScrollBar

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

Direct Known Subclasses

FlexHScrollBar, FlexVScrollBar

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

#fill_colorsObject



227
228
229
# File 'lib/funfx/flex/elements.rb', line 227

def fill_colors
  get_property_value('fillColors', String)
end

#line_scroll_sizeObject



211
212
213
# File 'lib/funfx/flex/elements.rb', line 211

def line_scroll_size
  get_property_value('lineScrollSize', Integer)
end

#page_scroll_sizeObject



215
216
217
# File 'lib/funfx/flex/elements.rb', line 215

def page_scroll_size
  get_property_value('pageScrollSize', Integer)
end

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



230
231
232
# File 'lib/funfx/flex/elements.rb', line 230

def scroll(position, direction, detail=["null"])
  fire_event('Scroll', position, direction, detail)
end

#scroll_positionObject



219
220
221
# File 'lib/funfx/flex/elements.rb', line 219

def scroll_position
  get_property_value('scrollPosition', String)
end

#track_colorsObject



223
224
225
# File 'lib/funfx/flex/elements.rb', line 223

def track_colors
  get_property_value('trackColors', String)
end