Class: FunFX::Flex::Elements::FlexMenuBar
Constant Summary
FunFX::Flex::Element::MAX_TRIES
Instance Attribute Summary
#flex_app, #flex_locator
Instance Method Summary
collapse
#column_names, #num_columns, #num_rows, #values
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_color ⇒ Object
1128
1129
1130
|
# File 'lib/funfx/flex/elements.rb', line 1128
def background_color
get_property_value('backgroundColor', String)
end
|
#color ⇒ Object
1132
1133
1134
|
# File 'lib/funfx/flex/elements.rb', line 1132
def color
get_property_value('color', String)
end
|
#disabled_color ⇒ Object
1136
1137
1138
|
# File 'lib/funfx/flex/elements.rb', line 1136
def disabled_color
get_property_value('disabledColor', String)
end
|
#fill_colors ⇒ Object
1140
1141
1142
|
# File 'lib/funfx/flex/elements.rb', line 1140
def fill_colors
get_property_value('fillColors', String)
end
|
#font_family ⇒ Object
1144
1145
1146
|
# File 'lib/funfx/flex/elements.rb', line 1144
def font_family
get_property_value('fontFamily', String)
end
|
#font_size ⇒ Object
1148
1149
1150
|
# File 'lib/funfx/flex/elements.rb', line 1148
def font_size
get_property_value('fontSize', Integer)
end
|
#font_style ⇒ Object
1152
1153
1154
|
# File 'lib/funfx/flex/elements.rb', line 1152
def font_style
get_property_value('fontStyle', String)
end
|
#font_weight ⇒ Object
1156
1157
1158
|
# File 'lib/funfx/flex/elements.rb', line 1156
def font_weight
get_property_value('fontWeight', String)
end
|
#hide ⇒ Object
1185
1186
1187
|
# File 'lib/funfx/flex/elements.rb', line 1185
def hide()
fire_event('Hide')
end
|
#num_children ⇒ Object
1120
1121
1122
|
# File 'lib/funfx/flex/elements.rb', line 1120
def num_children
get_property_value('numChildren', Integer)
end
|
#roll_over_color ⇒ Object
1168
1169
1170
|
# File 'lib/funfx/flex/elements.rb', line 1168
def roll_over_color
get_property_value('rollOverColor', String)
end
|
#selected_index ⇒ Object
1124
1125
1126
|
# File 'lib/funfx/flex/elements.rb', line 1124
def selected_index
get_property_value('selectedIndex', Integer)
end
|
#selection_color ⇒ Object
1172
1173
1174
|
# File 'lib/funfx/flex/elements.rb', line 1172
def selection_color
get_property_value('selectionColor', String)
end
|
#show(item_renderer) ⇒ Object
1182
1183
1184
|
# File 'lib/funfx/flex/elements.rb', line 1182
def show(item_renderer)
fire_event('Show', item_renderer)
end
|
#text_align ⇒ Object
1160
1161
1162
|
# File 'lib/funfx/flex/elements.rb', line 1160
def text_align
get_property_value('textAlign', String)
end
|
#text_decoration ⇒ Object
1164
1165
1166
|
# File 'lib/funfx/flex/elements.rb', line 1164
def text_decoration
get_property_value('textDecoration', String)
end
|
#text_indent ⇒ Object
1176
1177
1178
|
# File 'lib/funfx/flex/elements.rb', line 1176
def text_indent
get_property_value('textIndent', Integer)
end
|
#type(key_code, key_modifier = ["0"]) ⇒ Object
1179
1180
1181
|
# File 'lib/funfx/flex/elements.rb', line 1179
def type(key_code, key_modifier=["0"])
fire_event('Type', key_code, key_modifier)
end
|