Class: Teien::TrayListener
- Inherits:
-
Ogrebites::SdkTrayListener
- Object
- Ogrebites::SdkTrayListener
- Teien::TrayListener
- Defined in:
- lib/teien/ui/ui_listener.rb
Overview
Tray Listener
Instance Method Summary collapse
- #button_hit(button) ⇒ Object
-
#initialize(listener) ⇒ TrayListener
constructor
A new instance of TrayListener.
- #item_selected(menu) ⇒ Object
- #ok_dialog_closed(name) ⇒ Object
- #yes_no_dialog_closed(name, bl) ⇒ Object
Constructor Details
#initialize(listener) ⇒ TrayListener
46 47 48 49 |
# File 'lib/teien/ui/ui_listener.rb', line 46 def initialize(listener) super() @listener = listener end |
Instance Method Details
#button_hit(button) ⇒ Object
51 52 53 |
# File 'lib/teien/ui/ui_listener.rb', line 51 def () @listener.() end |
#item_selected(menu) ⇒ Object
55 56 57 |
# File 'lib/teien/ui/ui_listener.rb', line 55 def item_selected() @listener.item_selected() end |
#ok_dialog_closed(name) ⇒ Object
63 64 65 |
# File 'lib/teien/ui/ui_listener.rb', line 63 def ok_dialog_closed(name) @listener.ok_dialog_closed(name) end |
#yes_no_dialog_closed(name, bl) ⇒ Object
59 60 61 |
# File 'lib/teien/ui/ui_listener.rb', line 59 def yes_no_dialog_closed(name, bl) @listener.yes_no_dialog_closed(name, bl) end |