Class: OpenHAB::DSL::Sitemaps::LinkableWidgetBuilder
- Inherits:
-
WidgetBuilder
- Object
- WidgetBuilder
- OpenHAB::DSL::Sitemaps::LinkableWidgetBuilder
- Defined in:
- lib/openhab/dsl/sitemaps/builder.rb
Overview
Parent class for builders of widgets that can contain other widgets.
Direct Known Subclasses
ButtongridBuilder, FrameBuilder, GroupBuilder, ImageBuilder, SitemapBuilder, TextBuilder
Instance Attribute Summary
Attributes inherited from WidgetBuilder
#icon, #icon_colors, #item, #label, #label_colors, #static_icon, #value_colors, #visibilities
Instance Method Summary collapse
-
#buttongrid(item: nil, label: nil, icon: nil, static_icon: nil, buttons: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ButtongridBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Buttongrid` element.
-
#chart(item: nil, label: nil, icon: nil, static_icon: nil, service: nil, refresh: nil, period: nil, legend: nil, group: nil, y_axis_pattern: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ChartBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Chart` element.
-
#colorpicker(item: nil, label: nil, icon: nil, static_icon: nil, frequency: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ColorpickerBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Colorpicker` element.
-
#colortemperaturepicker(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ColortemperaturepickerBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Colortemperaturepicker` element.
-
#default(item: nil, label: nil, icon: nil, static_icon: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ DefaultBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Default` element.
-
#frame(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ FrameBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Frame` element.
-
#group(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ GroupBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Group` element.
-
#image(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, refresh: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ImageBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Image` element.
-
#input(item: nil, label: nil, icon: nil, static_icon: nil, hint: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ InputBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Input` element.
-
#mapview(item: nil, label: nil, icon: nil, static_icon: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ MapviewBuilder
Create a new ‘Mapview` element.
-
#selection(item: nil, label: nil, icon: nil, static_icon: nil, mappings: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SelectionBuilder
Create a new ‘Selection` element.
-
#setpoint(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, step: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SetpointBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Setpoint` element.
-
#slider(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, step: nil, switch: nil, frequency: nil, release_only: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SliderBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Slider` element.
-
#switch(item: nil, label: nil, icon: nil, static_icon: nil, mappings: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SwitchBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Switch` element.
-
#text(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ TextBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Text` element.
-
#video(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, encoding: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ VideoBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Video` element.
-
#webview(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ WebviewBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Webview` element.
Methods inherited from WidgetBuilder
#icon_color, #label_color, #value_color, #visibility
Methods included from Core::EntityLookup
#items, #method_missing, #things
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenHAB::Core::EntityLookup
Instance Method Details
#buttongrid(item: nil, label: nil, icon: nil, static_icon: nil, buttons: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ButtongridBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Buttongrid` element.
209 210 211 212 213 214 215 216 217 218 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 209 def (item: nil, label: nil, icon: nil, static_icon: nil, buttons: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#chart(item: nil, label: nil, icon: nil, static_icon: nil, service: nil, refresh: nil, period: nil, legend: nil, group: nil, y_axis_pattern: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ChartBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Chart` element.
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 85 def chart(item: nil, label: nil, icon: nil, static_icon: nil, service: nil, refresh: nil, period: nil, legend: nil, group: nil, y_axis_pattern: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#colorpicker(item: nil, label: nil, icon: nil, static_icon: nil, frequency: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ColorpickerBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Colorpicker` element.
242 243 244 245 246 247 248 249 250 251 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 242 def colorpicker(item: nil, label: nil, icon: nil, static_icon: nil, frequency: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#colortemperaturepicker(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ColortemperaturepickerBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Colortemperaturepicker` element.
259 260 261 262 263 264 265 266 267 268 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 259 def colortemperaturepicker(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#default(item: nil, label: nil, icon: nil, static_icon: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ DefaultBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Default` element.
275 276 277 278 279 280 281 282 283 284 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 275 def default(item: nil, label: nil, icon: nil, static_icon: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#frame(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ FrameBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Frame` element.
6 7 8 9 10 11 12 13 14 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 6 def frame(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#group(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ GroupBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Group` element.
36 37 38 39 40 41 42 43 44 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 36 def group(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#image(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, refresh: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ ImageBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Image` element.
51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 51 def image(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, refresh: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#input(item: nil, label: nil, icon: nil, static_icon: nil, hint: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ InputBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Input` element.
192 193 194 195 196 197 198 199 200 201 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 192 def input(item: nil, label: nil, icon: nil, static_icon: nil, hint: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#mapview(item: nil, label: nil, icon: nil, static_icon: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ MapviewBuilder
Create a new ‘Mapview` element.
139 140 141 142 143 144 145 146 147 148 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 139 def mapview(item: nil, label: nil, icon: nil, static_icon: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#selection(item: nil, label: nil, icon: nil, static_icon: nil, mappings: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SelectionBuilder
Create a new ‘Selection` element.
175 176 177 178 179 180 181 182 183 184 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 175 def selection(item: nil, label: nil, icon: nil, static_icon: nil, mappings: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#setpoint(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, step: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SetpointBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Setpoint` element.
225 226 227 228 229 230 231 232 233 234 235 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 225 def setpoint(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, step: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#slider(item: nil, label: nil, icon: nil, static_icon: nil, range: nil, step: nil, switch: nil, frequency: nil, release_only: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SliderBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Slider` element.
155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 155 def (item: nil, label: nil, icon: nil, static_icon: nil, range: nil, step: nil, switch: nil, frequency: nil, release_only: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#switch(item: nil, label: nil, icon: nil, static_icon: nil, mappings: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ SwitchBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Switch` element.
123 124 125 126 127 128 129 130 131 132 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 123 def switch(item: nil, label: nil, icon: nil, static_icon: nil, mappings: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#text(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ TextBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Text` element.
21 22 23 24 25 26 27 28 29 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 21 def text(item: nil, label: nil, icon: nil, static_icon: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#video(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, encoding: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ VideoBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Video` element.
68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 68 def video(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, encoding: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |
#webview(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) { ... } ⇒ WebviewBuilder
One or more visibility rules (see WidgetBuilder#visibility) Create a new ‘Webview` element.
106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 106 def webview(item: nil, label: nil, icon: nil, static_icon: nil, url: nil, height: nil, label_color: nil, value_color: nil, icon_color: nil, visibility: nil) end |