Class: OpenHAB::DSL::Sitemaps::SetpointBuilder

Inherits:
WidgetBuilder show all
Defined in:
lib/openhab/dsl/sitemaps/builder.rb

Overview

Builds a Setpoint element

Direct Known Subclasses

SliderBuilder

Instance Attribute Summary collapse

Attributes inherited from WidgetBuilder

#icon, #icon_colors, #item, #label, #label_colors, #static_icon, #value_colors, #visibilities

Method Summary

Methods inherited from WidgetBuilder

#icon_color, #label_color, #value_color, #visibility

Methods included from Core::EntityLookup

#method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OpenHAB::Core::EntityLookup

Instance Attribute Details

#rangeRange?

Allowed range of the value

Returns:



360
361
362
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 360

def range
  @range
end

#stepNumeric?

How far the value will change with each button press

Returns:



363
364
365
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 363

def step
  @step
end