Class: OpenHAB::DSL::Sitemaps::ButtongridBuilder
- Inherits:
-
WidgetBuilder
- Object
- WidgetBuilder
- OpenHAB::DSL::Sitemaps::ButtongridBuilder
- Defined in:
- lib/openhab/dsl/sitemaps/builder.rb
Overview
Builds a Buttongrid
element
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Array<int, int, Command, String, String>>
readonly
An array of buttons to display.
Attributes inherited from WidgetBuilder
#icon, #icon_colors, #item, #label, #label_colors, #static_icon, #value_colors, #visibilities
Instance Method Summary collapse
-
#button(button) ⇒ Array<Array<int, int, Command, String, String>>
Adds a button to the buttongrid.
Methods inherited from WidgetBuilder
#icon_color, #label_color, #value_color, #visibility
Methods included from Core::EntityLookup
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenHAB::Core::EntityLookup