Module: Fet::Ui::NoteBoxLoopHandler

Included in:
NoteBox
Defined in:
lib/fet/ui/note_box_loop_handler.rb

Overview

Handles events for NoteBox

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_selectedObject

Returns the value of attribute user_selected.



10
11
12
# File 'lib/fet/ui/note_box_loop_handler.rb', line 10

def user_selected
  @user_selected
end

Instance Method Details

#handle_event_loop(event) ⇒ Object



12
13
14
15
# File 'lib/fet/ui/note_box_loop_handler.rb', line 12

def handle_event_loop(event)
  handle_click_event(event)
  handle_keyboard_event(event)
end

#handle_update_loopObject



17
# File 'lib/fet/ui/note_box_loop_handler.rb', line 17

def handle_update_loop; end

#manually_selectObject



19
20
21
# File 'lib/fet/ui/note_box_loop_handler.rb', line 19

def manually_select
  handle_selected(user_selected: false)
end