Class: FunFX::Flex::Elements::FlexObject
Direct Known Subclasses
FlexAxisRenderer, FlexButton, FlexChartBase, FlexComboBase, FlexContainer, FlexDateChooser, FlexLabel, FlexLegend, FlexMenu, FlexMenuBar, FlexNumericStepper, FlexProgressBar, FlexRule, FlexSWFLoader, FlexScrollBar, FlexScrollBase, FlexSeries, FlexSlider, FlexVideoDisplay
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
#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
#automation_class_name ⇒ Object
133
134
135
|
# File 'lib/funfx/flex/elements.rb', line 133
def automation_class_name
get_property_value('automationClassName', String)
end
|
#automation_index ⇒ Object
145
146
147
|
# File 'lib/funfx/flex/elements.rb', line 145
def automation_index
get_property_value('automationIndex', String)
end
|
#automation_name ⇒ Object
129
130
131
|
# File 'lib/funfx/flex/elements.rb', line 129
def automation_name
get_property_value('automationName', String)
end
|
#change_focus(shift_key, key_code = "TAB") ⇒ Object
200
201
202
|
# File 'lib/funfx/flex/elements.rb', line 200
def change_focus(shift_key, key_code="TAB")
fire_event('ChangeFocus', shift_key, key_code)
end
|
#class_name ⇒ Object
141
142
143
|
# File 'lib/funfx/flex/elements.rb', line 141
def class_name
get_property_value('className', String)
end
|
#current_state ⇒ Object
149
150
151
|
# File 'lib/funfx/flex/elements.rb', line 149
def current_state
get_property_value('currentState', String)
end
|
#enabled? ⇒ Boolean
189
190
191
|
# File 'lib/funfx/flex/elements.rb', line 189
def enabled?
get_property_value('enabled', TrueClass)
end
|
#error_color ⇒ Object
181
182
183
|
# File 'lib/funfx/flex/elements.rb', line 181
def error_color
get_property_value('errorColor', String)
end
|
#error_string ⇒ Object
161
162
163
|
# File 'lib/funfx/flex/elements.rb', line 161
def error_string
get_property_value('errorString', String)
end
|
#focus_enabled? ⇒ Boolean
153
154
155
|
# File 'lib/funfx/flex/elements.rb', line 153
def focus_enabled?
get_property_value('focusEnabled', TrueClass)
end
|
#id ⇒ Object
137
138
139
|
# File 'lib/funfx/flex/elements.rb', line 137
def id
get_property_value('id', String)
end
|
#num_automation_children ⇒ Object
197
198
199
|
# File 'lib/funfx/flex/elements.rb', line 197
def num_automation_children
get_property_value('numAutomationChildren', Integer)
end
|
#percent_height ⇒ Object
165
166
167
|
# File 'lib/funfx/flex/elements.rb', line 165
def percent_height
get_property_value('percentHeight', Integer)
end
|
#percent_width ⇒ Object
169
170
171
|
# File 'lib/funfx/flex/elements.rb', line 169
def percent_width
get_property_value('percentWidth', Integer)
end
|
#scale_x ⇒ Object
173
174
175
|
# File 'lib/funfx/flex/elements.rb', line 173
def scale_x
get_property_value('scaleX', Integer)
end
|
#scale_y ⇒ Object
177
178
179
|
# File 'lib/funfx/flex/elements.rb', line 177
def scale_y
get_property_value('scaleY', Integer)
end
|
#theme_color ⇒ Object
185
186
187
|
# File 'lib/funfx/flex/elements.rb', line 185
def theme_color
get_property_value('themeColor', String)
end
|
157
158
159
|
# File 'lib/funfx/flex/elements.rb', line 157
def tool_tip
get_property_value('toolTip', String)
end
|
#use_hand_cursor? ⇒ Boolean
193
194
195
|
# File 'lib/funfx/flex/elements.rb', line 193
def use_hand_cursor?
get_property_value('useHandCursor', TrueClass)
end
|