Class IconSet

java.lang.Object
org.openhab.core.ui.icon.IconSet

@NonNullByDefault public class IconSet extends Object
This is a bean that provides some meta-information about available icon sets.
Author:
Kai Kreuzer - Initial contribution
  • Constructor Details

    • IconSet

      public IconSet(String id, String label, String description, Set<IconSet.Format> formats)
      Construct a new pojo.
      Parameters:
      id - the icon set id
      label - a short label text
      description - a description text
      formats - a set of formats that are supported
  • Method Details

    • getId

      public String getId()
      Returns the id of the icon set.
      Returns:
      id of the icon set
    • getLabel

      public String getLabel()
      Returns a label for the icon set.
      Returns:
      a short label text
    • getDescription

      public String getDescription()
      Returns a description for the icon set.
      Returns:
      a description text
    • getFormats

      public Set<IconSet.Format> getFormats()
      Provides information about supported file formats of this set.
      Returns:
      a set of formats