Class: OpenHAB::Core::Events::ItemCommandEvent
- Inherits:
-
ItemEvent
- Object
- AbstractEvent
- ItemEvent
- OpenHAB::Core::Events::ItemCommandEvent
- Defined in:
- lib/openhab/core/events/item_command_event.rb
Overview
AbstractEvent sent when an item receives a command.
Instance Attribute Summary collapse
-
#command ⇒ Command
readonly
The command sent to the item.
Attributes inherited from ItemEvent
Attributes inherited from AbstractEvent
Instance Method Summary collapse
- #decrease? ⇒ true, false
- #down? ⇒ true, false
-
#fast_forward? ⇒ true, false
Check if #command is FASTFORWARD.
- #increase? ⇒ true, false
- #move? ⇒ true, false
- #next? ⇒ true, false
- #off? ⇒ true, false
- #on? ⇒ true, false
- #pause? ⇒ true, false
- #play? ⇒ true, false
- #previous? ⇒ true, false
- #refresh? ⇒ true, false
- #rewind? ⇒ true, false
- #stop? ⇒ true, false
- #up? ⇒ true, false
Methods inherited from AbstractEvent
Instance Attribute Details
#command ⇒ Command (readonly)
Returns The command sent to the item.
14 |
# File 'lib/openhab/core/events/item_command_event.rb', line 14 alias_method :command, :item_command |
Instance Method Details
#decrease? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 48
|
#down? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 32
|
#fast_forward? ⇒ true, false
Check if #command is FASTFORWARD
|
# File 'lib/openhab/core/events/item_command_event.rb', line 64
|
#increase? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 44
|
#move? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 40
|
#next? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 68
|
#off? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 24
|
#on? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 20
|
#pause? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 56
|
#play? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 52
|
#previous? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 72
|
#refresh? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 16
|
#rewind? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 60
|
#stop? ⇒ true, false
|
# File 'lib/openhab/core/events/item_command_event.rb', line 36
|