Class: Nobbie::Wx::Command::Factory

Inherits:
Object
  • Object
show all
Defined in:
lib/nobbie/wx/command_factory.rb

Instance Method Summary collapse

Instance Method Details

#create_choose_command(path) ⇒ Object



37
38
39
# File 'lib/nobbie/wx/command_factory.rb', line 37

def create_choose_command(path)
  ChooseCommand.new(path)
end

#create_click_on_command(path) ⇒ Object



21
22
23
# File 'lib/nobbie/wx/command_factory.rb', line 21

def create_click_on_command(path)
  ClickOnCommand.new(path)
end

#create_get_component_command(path) ⇒ Object



17
18
19
# File 'lib/nobbie/wx/command_factory.rb', line 17

def create_get_component_command(path)
  GetComponentCommand.new(path)
end

#create_get_options_command(path) ⇒ Object



45
46
47
# File 'lib/nobbie/wx/command_factory.rb', line 45

def create_get_options_command(path)
  GetOptionsCommand.new(path)
end

#create_get_selected_values_command(path) ⇒ Object



25
26
27
# File 'lib/nobbie/wx/command_factory.rb', line 25

def create_get_selected_values_command(path)
  GetSelectedValuesCommand.new(path)
end

#create_is_chosen_command(path) ⇒ Object



33
34
35
# File 'lib/nobbie/wx/command_factory.rb', line 33

def create_is_chosen_command(path)
  IsChosenCommand.new(path)
end

#create_is_enabled_command(path) ⇒ Object



41
42
43
# File 'lib/nobbie/wx/command_factory.rb', line 41

def create_is_enabled_command(path)
  IsEnabledCommand.new(path)
end

#create_select_command(path, value) ⇒ Object



29
30
31
# File 'lib/nobbie/wx/command_factory.rb', line 29

def create_select_command(path, value)
  SelectCommand.new(path, value)
end

#create_type_into_command(path, value) ⇒ Object



13
14
15
# File 'lib/nobbie/wx/command_factory.rb', line 13

def create_type_into_command(path, value)
  TypeIntoCommand.new(path, value)
end