Class: FunFX::Flex::Elements::FlexDateField
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
#background_alpha, #background_color, #background_image, #background_size, #close, #color, #disabled_color, #drop_shadow_enabled?, #editable?, #fill_alphas, #fill_colors, #font_family, #font_size, #font_style, #font_weight, #highlight_color, #horizontal_scroll_policy, #horizontal_scroll_position, #input, #live_scrolling?, #open, #restrict, #select_text, #selected_index, #show_scroll_tips?, #text, #text_align, #text_decoration, #text_indent, #vertical_scroll_policy, #vertical_scroll_position
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
#change(new_date) ⇒ Object
1482
1483
1484
|
# File 'lib/funfx/flex/elements.rb', line 1482
def change(new_date)
fire_event('Change', new_date)
end
|
#disabled_days ⇒ Object
1435
1436
1437
|
# File 'lib/funfx/flex/elements.rb', line 1435
def disabled_days
get_property_value('disabledDays', String)
end
|
#disabled_ranges ⇒ Object
1439
1440
1441
|
# File 'lib/funfx/flex/elements.rb', line 1439
def disabled_ranges
get_property_value('disabledRanges', String)
end
|
#displayed_month ⇒ Object
1443
1444
1445
|
# File 'lib/funfx/flex/elements.rb', line 1443
def displayed_month
get_property_value('displayedMonth', Integer)
end
|
#displayed_year ⇒ Object
1447
1448
1449
|
# File 'lib/funfx/flex/elements.rb', line 1447
def displayed_year
get_property_value('displayedYear', Integer)
end
|
#first_day_of_week ⇒ Object
1451
1452
1453
|
# File 'lib/funfx/flex/elements.rb', line 1451
def first_day_of_week
get_property_value('firstDayOfWeek', Integer)
end
|
1471
1472
1473
|
# File 'lib/funfx/flex/elements.rb', line 1471
def
get_property_value('headerColors', String)
end
|
#max_year ⇒ Object
1455
1456
1457
|
# File 'lib/funfx/flex/elements.rb', line 1455
def max_year
get_property_value('maxYear', Integer)
end
|
#min_year ⇒ Object
1459
1460
1461
|
# File 'lib/funfx/flex/elements.rb', line 1459
def min_year
get_property_value('minYear', Integer)
end
|
#roll_over_color ⇒ Object
1475
1476
1477
|
# File 'lib/funfx/flex/elements.rb', line 1475
def roll_over_color
get_property_value('rollOverColor', String)
end
|
1485
1486
1487
|
# File 'lib/funfx/flex/elements.rb', line 1485
def scroll(detail)
fire_event('Scroll', detail)
end
|
#selected_date ⇒ Object
1431
1432
1433
|
# File 'lib/funfx/flex/elements.rb', line 1431
def selected_date
get_property_value('selectedDate', Date)
end
|
#show_today? ⇒ Boolean
1463
1464
1465
|
# File 'lib/funfx/flex/elements.rb', line 1463
def show_today?
get_property_value('showToday', TrueClass)
end
|
#today_color ⇒ Object
1479
1480
1481
|
# File 'lib/funfx/flex/elements.rb', line 1479
def today_color
get_property_value('todayColor', String)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
1488
1489
1490
|
# File 'lib/funfx/flex/elements.rb', line 1488
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|
#year_navigation_enabled? ⇒ Boolean
1467
1468
1469
|
# File 'lib/funfx/flex/elements.rb', line 1467
def year_navigation_enabled?
get_property_value('yearNavigationEnabled', TrueClass)
end
|