Class AbstractWidgetDTO

java.lang.Object
org.openhab.core.sitemap.dto.AbstractWidgetDTO
Direct Known Subclasses:
WidgetDefinitionDTO

public abstract class AbstractWidgetDTO extends Object
This is a data transfer object that is used to serialize widgets.
Author:
Kai Kreuzer - Initial contribution, Chris Jackson - Initial contribution, Laurent Garnier - New field iconcolor, Mark Herwege - New fields pattern, unit, Laurent Garnier - New field columns, Danny Baumann - New field labelSource, Laurent Garnier - Remove field columns, Laurent Garnier - New fields row, column, command, releaseCommand and stateless for Button element, Mark Herwege - Created as abstract base class for WidgetDefinitionDTO classes
  • Field Details

    • type

      public String type
    • label

      public String label
    • icon

      public String icon
    • staticIcon

      public Boolean staticIcon
      staticIcon is a boolean indicating if the widget state must be ignored when requesting the icon. It is set to true when the widget has either the staticIcon property set or the icon property set with conditional rules.
    • mappings

      public List<MappingDTO> mappings
    • switchSupport

      public Boolean switchSupport
    • releaseOnly

      public Boolean releaseOnly
    • refresh

      public Integer refresh
    • height

      public Integer height
    • minValue

      public BigDecimal minValue
    • maxValue

      public BigDecimal maxValue
    • step

      public BigDecimal step
    • inputHint

      public String inputHint
    • url

      public String url
    • encoding

      public String encoding
    • service

      public String service
    • period

      public String period
    • yAxisDecimalPattern

      public String yAxisDecimalPattern
    • interpolation

      public String interpolation
    • legend

      public Boolean legend
    • forceAsItem

      public Boolean forceAsItem
    • row

      public Integer row
    • column

      public Integer column
    • command

      public String command
    • releaseCommand

      public String releaseCommand
    • stateless

      public Boolean stateless
  • Constructor Details

    • AbstractWidgetDTO

      public AbstractWidgetDTO()