Class: FunFX::Flex::Elements::FlexComboBase
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#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?
#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
#background_alpha ⇒ Object
1265
1266
1267
|
# File 'lib/funfx/flex/elements.rb', line 1265
def background_alpha
get_property_value('backgroundAlpha', Integer)
end
|
#background_color ⇒ Object
1269
1270
1271
|
# File 'lib/funfx/flex/elements.rb', line 1269
def background_color
get_property_value('backgroundColor', String)
end
|
#background_image ⇒ Object
1273
1274
1275
|
# File 'lib/funfx/flex/elements.rb', line 1273
def background_image
get_property_value('backgroundImage', String)
end
|
#background_size ⇒ Object
1277
1278
1279
|
# File 'lib/funfx/flex/elements.rb', line 1277
def background_size
get_property_value('backgroundSize', String)
end
|
#close(trigger_event = ["1"]) ⇒ Object
1335
1336
1337
|
# File 'lib/funfx/flex/elements.rb', line 1335
def close(trigger_event=["1"])
fire_event('Close', trigger_event)
end
|
#color ⇒ Object
1281
1282
1283
|
# File 'lib/funfx/flex/elements.rb', line 1281
def color
get_property_value('color', Integer)
end
|
#disabled_color ⇒ Object
1285
1286
1287
|
# File 'lib/funfx/flex/elements.rb', line 1285
def disabled_color
get_property_value('disabledColor', String)
end
|
#drop_shadow_enabled? ⇒ Boolean
1289
1290
1291
|
# File 'lib/funfx/flex/elements.rb', line 1289
def drop_shadow_enabled?
get_property_value('dropShadowEnabled', TrueClass)
end
|
#editable? ⇒ Boolean
1233
1234
1235
|
# File 'lib/funfx/flex/elements.rb', line 1233
def editable?
get_property_value('editable', TrueClass)
end
|
#fill_alphas ⇒ Object
1293
1294
1295
|
# File 'lib/funfx/flex/elements.rb', line 1293
def fill_alphas
get_property_value('fillAlphas', String)
end
|
#fill_colors ⇒ Object
1297
1298
1299
|
# File 'lib/funfx/flex/elements.rb', line 1297
def fill_colors
get_property_value('fillColors', String)
end
|
#font_family ⇒ Object
1301
1302
1303
|
# File 'lib/funfx/flex/elements.rb', line 1301
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
1305
1306
1307
|
# File 'lib/funfx/flex/elements.rb', line 1305
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
1309
1310
1311
|
# File 'lib/funfx/flex/elements.rb', line 1309
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
1313
1314
1315
|
# File 'lib/funfx/flex/elements.rb', line 1313
def font_weight
get_property_value('fontWeight', String)
end
|
#highlight_color ⇒ Object
1317
1318
1319
|
# File 'lib/funfx/flex/elements.rb', line 1317
def highlight_color
get_property_value('highlightColor', String)
end
|
1245
1246
1247
|
# File 'lib/funfx/flex/elements.rb', line 1245
def horizontal_scroll_policy
get_property_value('horizontalScrollPolicy', String)
end
|
1241
1242
1243
|
# File 'lib/funfx/flex/elements.rb', line 1241
def horizontal_scroll_position
get_property_value('horizontalScrollPosition', Integer)
end
|
1341
1342
1343
|
# File 'lib/funfx/flex/elements.rb', line 1341
def input(text)
fire_event('Input', text)
end
|
1249
1250
1251
|
# File 'lib/funfx/flex/elements.rb', line 1249
def live_scrolling?
get_property_value('liveScrolling', TrueClass)
end
|
#open(trigger_event = ["1"]) ⇒ Object
1332
1333
1334
|
# File 'lib/funfx/flex/elements.rb', line 1332
def open(trigger_event=["1"])
fire_event('Open', trigger_event)
end
|
#restrict ⇒ Object
1229
1230
1231
|
# File 'lib/funfx/flex/elements.rb', line 1229
def restrict
get_property_value('restrict', String)
end
|
1338
1339
1340
|
# File 'lib/funfx/flex/elements.rb', line 1338
def scroll(position, direction, detail=["null"])
fire_event('Scroll', position, direction, detail)
end
|
#select_text(begin_index, end_index) ⇒ Object
1344
1345
1346
|
# File 'lib/funfx/flex/elements.rb', line 1344
def select_text(begin_index, end_index)
fire_event('SelectText', begin_index, end_index)
end
|
#selected_index ⇒ Object
1237
1238
1239
|
# File 'lib/funfx/flex/elements.rb', line 1237
def selected_index
get_property_value('selectedIndex', Integer)
end
|
1253
1254
1255
|
# File 'lib/funfx/flex/elements.rb', line 1253
def show_scroll_tips?
get_property_value('showScrollTips', TrueClass)
end
|
#text ⇒ Object
1225
1226
1227
|
# File 'lib/funfx/flex/elements.rb', line 1225
def text
get_property_value('text', String)
end
|
#text_align ⇒ Object
1321
1322
1323
|
# File 'lib/funfx/flex/elements.rb', line 1321
def text_align
get_property_value('textAlign', String)
end
|
#text_decoration ⇒ Object
1325
1326
1327
|
# File 'lib/funfx/flex/elements.rb', line 1325
def text_decoration
get_property_value('textDecoration', String)
end
|
#text_indent ⇒ Object
1329
1330
1331
|
# File 'lib/funfx/flex/elements.rb', line 1329
def text_indent
get_property_value('textIndent', Integer)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
1347
1348
1349
|
# File 'lib/funfx/flex/elements.rb', line 1347
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|
1261
1262
1263
|
# File 'lib/funfx/flex/elements.rb', line 1261
def vertical_scroll_policy
get_property_value('verticalScrollPolicy', String)
end
|
1257
1258
1259
|
# File 'lib/funfx/flex/elements.rb', line 1257
def vertical_scroll_position
get_property_value('verticalScrollPosition', Integer)
end
|