Class: FunFX::Flex::Elements::FlexTextArea
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
#mouse_scroll
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?
#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
#color ⇒ Object
703
704
705
|
# File 'lib/funfx/flex/elements.rb', line 703
def color
get_property_value('color', Integer)
end
|
#disabled_color ⇒ Object
735
736
737
|
# File 'lib/funfx/flex/elements.rb', line 735
def disabled_color
get_property_value('disabledColor', String)
end
|
#display_as_password? ⇒ Boolean
695
696
697
|
# File 'lib/funfx/flex/elements.rb', line 695
def display_as_password?
get_property_value('displayAsPassword', TrueClass)
end
|
#editable? ⇒ Boolean
691
692
693
|
# File 'lib/funfx/flex/elements.rb', line 691
def editable?
get_property_value('editable', TrueClass)
end
|
#font_family ⇒ Object
739
740
741
|
# File 'lib/funfx/flex/elements.rb', line 739
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
743
744
745
|
# File 'lib/funfx/flex/elements.rb', line 743
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
747
748
749
|
# File 'lib/funfx/flex/elements.rb', line 747
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
751
752
753
|
# File 'lib/funfx/flex/elements.rb', line 751
def font_weight
get_property_value('fontWeight', String)
end
|
707
708
709
|
# File 'lib/funfx/flex/elements.rb', line 707
def horizontal_scroll_policy
get_property_value('horizontalScrollPolicy', String)
end
|
#html_text ⇒ Object
711
712
713
|
# File 'lib/funfx/flex/elements.rb', line 711
def html_text
get_property_value('htmlText', String)
end
|
754
755
756
|
# File 'lib/funfx/flex/elements.rb', line 754
def input(text)
fire_event('Input', text)
end
|
#length ⇒ Object
715
716
717
|
# File 'lib/funfx/flex/elements.rb', line 715
def length
get_property_value('length', Integer)
end
|
#max_chars ⇒ Object
719
720
721
|
# File 'lib/funfx/flex/elements.rb', line 719
def max_chars
get_property_value('maxChars', Integer)
end
|
#restrict ⇒ Object
723
724
725
|
# File 'lib/funfx/flex/elements.rb', line 723
def restrict
get_property_value('restrict', String)
end
|
763
764
765
|
# File 'lib/funfx/flex/elements.rb', line 763
def scroll(position, direction, detail=["null"])
fire_event('Scroll', position, direction, detail)
end
|
#select_text(begin_index, end_index) ⇒ Object
757
758
759
|
# File 'lib/funfx/flex/elements.rb', line 757
def select_text(begin_index, end_index)
fire_event('SelectText', begin_index, end_index)
end
|
#selection ⇒ Object
727
728
729
|
# File 'lib/funfx/flex/elements.rb', line 727
def selection
get_property_value('selection', String)
end
|
#text ⇒ Object
699
700
701
|
# File 'lib/funfx/flex/elements.rb', line 699
def text
get_property_value('text', String)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
760
761
762
|
# File 'lib/funfx/flex/elements.rb', line 760
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|
#word_wrap? ⇒ Boolean
731
732
733
|
# File 'lib/funfx/flex/elements.rb', line 731
def word_wrap?
get_property_value('wordWrap', TrueClass)
end
|