diff --git a/ui/images/sitemap_demo_buttongrid.png b/ui/images/sitemap_demo_buttongrid.png new file mode 100644 index 0000000000..8ec3689205 Binary files /dev/null and b/ui/images/sitemap_demo_buttongrid.png differ diff --git a/ui/sitemaps.md b/ui/sitemaps.md index 103e9b023b..3d4b606f16 100644 --- a/ui/sitemaps.md +++ b/ui/sitemaps.md @@ -145,6 +145,7 @@ The following element types may be used in a Sitemap definition file. | Element | Description | | ---------------------------------------- | ----------------------------------------------------------------------------------------- | | [Chart](#element-type-chart) | Adds a time-series chart object for [persisted](persistence.html) data. | +| [Buttongrid](#element-type-buttongrid) | Renders a grid of stateless buttons used to send commands to a given Item. | | [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. | | [Frame](#element-type-frame) | Establishes an area containing various other Sitemap elements. | @@ -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="