Class: FunFX::Flex::Elements::FlexSlider

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

Direct Known Subclasses

FlexHSlider, FlexVSlider

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

#change(value, thumb_index = 0, click_target = "thumb", trigger_event = ["1"], key_code = "") ⇒ Object



2660
2661
2662
# File 'lib/funfx/flex/elements.rb', line 2660

def change(value, thumb_index=0, click_target="thumb", trigger_event=["1"], key_code="")
  fire_event('Change', value, thumb_index, click_target, trigger_event, key_code)
end

#data_tip_precisionObject



2653
2654
2655
# File 'lib/funfx/flex/elements.rb', line 2653

def data_tip_precision
  get_property_value('dataTipPrecision', Integer)
end

#directionObject



2593
2594
2595
# File 'lib/funfx/flex/elements.rb', line 2593

def direction
  get_property_value('direction', String)
end

#fill_colorsObject



2633
2634
2635
# File 'lib/funfx/flex/elements.rb', line 2633

def fill_colors
  get_property_value('fillColors', String)
end

#label_style_nameObject



2637
2638
2639
# File 'lib/funfx/flex/elements.rb', line 2637

def label_style_name
  get_property_value('labelStyleName', String)
end

#labelsObject



2617
2618
2619
# File 'lib/funfx/flex/elements.rb', line 2617

def labels
  get_property_value('labels', String)
end

#live_dragging?Boolean

Returns:

  • (Boolean)


2621
2622
2623
# File 'lib/funfx/flex/elements.rb', line 2621

def live_dragging?
  get_property_value('liveDragging', TrueClass)
end

#maximumObject



2605
2606
2607
# File 'lib/funfx/flex/elements.rb', line 2605

def maximum
  get_property_value('maximum', Integer)
end

#minimumObject



2609
2610
2611
# File 'lib/funfx/flex/elements.rb', line 2609

def minimum
  get_property_value('minimum', Integer)
end

#snap_intervalObject



2629
2630
2631
# File 'lib/funfx/flex/elements.rb', line 2629

def snap_interval
  get_property_value('snapInterval', Integer)
end

#thumb_countObject



2613
2614
2615
# File 'lib/funfx/flex/elements.rb', line 2613

def thumb_count
  get_property_value('thumbCount', Integer)
end

#tick_colorObject



2641
2642
2643
# File 'lib/funfx/flex/elements.rb', line 2641

def tick_color
  get_property_value('tickColor', String)
end

#tick_lengthObject



2645
2646
2647
# File 'lib/funfx/flex/elements.rb', line 2645

def tick_length
  get_property_value('tickLength', Integer)
end

#tick_thicknessObject



2649
2650
2651
# File 'lib/funfx/flex/elements.rb', line 2649

def tick_thickness
  get_property_value('tickThickness', Integer)
end

#tool_tip_show?Boolean

Returns:

  • (Boolean)


2625
2626
2627
# File 'lib/funfx/flex/elements.rb', line 2625

def tool_tip_show?
  get_property_value('toolTipShow', TrueClass)
end

#track_colorsObject



2657
2658
2659
# File 'lib/funfx/flex/elements.rb', line 2657

def track_colors
  get_property_value('trackColors', String)
end

#valueObject



2597
2598
2599
# File 'lib/funfx/flex/elements.rb', line 2597

def value
  get_property_value('value', Integer)
end

#valuesObject



2601
2602
2603
# File 'lib/funfx/flex/elements.rb', line 2601

def values
  get_property_value('values', String)
end