diff --git a/ui/images/sitemap_demo_buttongrid.png b/ui/images/sitemap_demo_buttongrid.png new file mode 100644 index 0000000000..687db6bfac Binary files /dev/null and b/ui/images/sitemap_demo_buttongrid.png differ diff --git a/ui/sitemaps.md b/ui/sitemaps.md index ad5f1ba03f..0ad7e12f09 100644 --- a/ui/sitemaps.md +++ b/ui/sitemaps.md @@ -144,6 +144,7 @@ The following element types may be used in a Sitemap definition file. | Element | Description | | ---------------------------------------- | ----------------------------------------------------------------------------------------- | +| [Buttongrid](#element-type-buttongrid) | Renders a grid of stateless buttons used to send commands to a given Item. | | [Chart](#element-type-chart) | Adds a time-series chart object for [persisted](persistence.html) data. | | [Colorpicker](#element-type-colorpicker) | Allows the user to choose a color from a color wheel. | | [Default](#element-type-default) | Renders an Item in the default UI representation specified by the type of the given Item. | @@ -301,6 +302,43 @@ Switch item=LR_TV_Channel label="TV Channel" mappings=[0="DasErste", 1="BBC One" ![Presentation of the On/Off Switch element in BasicUI](images/sitemap_demo_switch1.png) ![Presentation of the multi-state Switch element in BasicUI](images/sitemap_demo_switch2.png) +### Element Type 'Buttongrid' + +```java +Buttongrid item= [label=""] [icon=] [staticIcon=] [buttons="