Class: FunFX::Flex::Elements::FlexDateChooser

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

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

#allow_disjoint_selection?Boolean

Returns:

  • (Boolean)


376
377
378
# File 'lib/funfx/flex/elements.rb', line 376

def allow_disjoint_selection?
  get_property_value('allowDisjointSelection', TrueClass)
end

#allow_multiple_selection?Boolean

Returns:

  • (Boolean)


400
401
402
# File 'lib/funfx/flex/elements.rb', line 400

def allow_multiple_selection?
  get_property_value('allowMultipleSelection', TrueClass)
end

#change(new_date) ⇒ Object



479
480
481
# File 'lib/funfx/flex/elements.rb', line 479

def change(new_date)
  fire_event('Change', new_date)
end

#colorObject



428
429
430
# File 'lib/funfx/flex/elements.rb', line 428

def color
  get_property_value('color', String)
end

#disabled_colorObject



432
433
434
# File 'lib/funfx/flex/elements.rb', line 432

def disabled_color
  get_property_value('disabledColor', String)
end

#disabled_daysObject



368
369
370
# File 'lib/funfx/flex/elements.rb', line 368

def disabled_days
  get_property_value('disabledDays', String)
end

#disabled_rangesObject



372
373
374
# File 'lib/funfx/flex/elements.rb', line 372

def disabled_ranges
  get_property_value('disabledRanges', String)
end

#displayed_monthObject



380
381
382
# File 'lib/funfx/flex/elements.rb', line 380

def displayed_month
  get_property_value('displayedMonth', Integer)
end

#displayed_yearObject



384
385
386
# File 'lib/funfx/flex/elements.rb', line 384

def displayed_year
  get_property_value('displayedYear', Integer)
end

#fill_colorsObject



436
437
438
# File 'lib/funfx/flex/elements.rb', line 436

def fill_colors
  get_property_value('fillColors', String)
end

#first_day_of_weekObject



388
389
390
# File 'lib/funfx/flex/elements.rb', line 388

def first_day_of_week
  get_property_value('firstDayOfWeek', Integer)
end

#font_familyObject



440
441
442
# File 'lib/funfx/flex/elements.rb', line 440

def font_family
  get_property_value('fontFamily', String)
end

#font_sizeObject



444
445
446
# File 'lib/funfx/flex/elements.rb', line 444

def font_size
  get_property_value('fontSize', Integer)
end

#font_styleObject



448
449
450
# File 'lib/funfx/flex/elements.rb', line 448

def font_style
  get_property_value('fontStyle', String)
end

#font_weightObject



452
453
454
# File 'lib/funfx/flex/elements.rb', line 452

def font_weight
  get_property_value('fontWeight', String)
end

#header_colorsObject



416
417
418
# File 'lib/funfx/flex/elements.rb', line 416

def header_colors
  get_property_value('headerColors', String)
end

#max_yearObject



392
393
394
# File 'lib/funfx/flex/elements.rb', line 392

def max_year
  get_property_value('maxYear', Integer)
end

#min_yearObject



396
397
398
# File 'lib/funfx/flex/elements.rb', line 396

def min_year
  get_property_value('minYear', Integer)
end

#roll_over_colorObject



420
421
422
# File 'lib/funfx/flex/elements.rb', line 420

def roll_over_color
  get_property_value('rollOverColor', String)
end

#scroll(detail) ⇒ Object



482
483
484
# File 'lib/funfx/flex/elements.rb', line 482

def scroll(detail)
  fire_event('Scroll', detail)
end

#selected_dateObject



364
365
366
# File 'lib/funfx/flex/elements.rb', line 364

def selected_date
  get_property_value('selectedDate', Date)
end

#selected_rangesObject



404
405
406
# File 'lib/funfx/flex/elements.rb', line 404

def selected_ranges
  get_property_value('selectedRanges', String)
end

#selection_colorObject



476
477
478
# File 'lib/funfx/flex/elements.rb', line 476

def selection_color
  get_property_value('selectionColor', String)
end

#show_today?Boolean

Returns:

  • (Boolean)


408
409
410
# File 'lib/funfx/flex/elements.rb', line 408

def show_today?
  get_property_value('showToday', TrueClass)
end

#text_alignObject



456
457
458
# File 'lib/funfx/flex/elements.rb', line 456

def text_align
  get_property_value('textAlign', String)
end

#text_decorationObject



460
461
462
# File 'lib/funfx/flex/elements.rb', line 460

def text_decoration
  get_property_value('textDecoration', String)
end

#text_indentObject



464
465
466
# File 'lib/funfx/flex/elements.rb', line 464

def text_indent
  get_property_value('textIndent', Integer)
end

#today_colorObject



424
425
426
# File 'lib/funfx/flex/elements.rb', line 424

def today_color
  get_property_value('todayColor', String)
end

#type(key_code, key_modifier = ["0"]) ⇒ Object



485
486
487
# File 'lib/funfx/flex/elements.rb', line 485

def type(key_code, key_modifier=["0"])
  fire_event('Type', key_code, key_modifier)
end

#year_navigation_enabled?Boolean

Returns:

  • (Boolean)


412
413
414
# File 'lib/funfx/flex/elements.rb', line 412

def year_navigation_enabled?
  get_property_value('yearNavigationEnabled', TrueClass)
end