Package org.openhab.core.sitemap
Interface Buttongrid
- All Superinterfaces:
LinkableWidget,Parent,Widget
A representation of a sitemap Buttongrid widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionGet the button grid buttons.voidsetButtons(List<ButtonDefinition> buttons) Replace the button grid buttons with a new list of buttons.Methods inherited from interface org.openhab.core.sitemap.LinkableWidget
getWidgets, setWidgetsMethods inherited from interface org.openhab.core.sitemap.Widget
getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getParent, getValueColor, getVisibility, getWidgetType, isStaticIcon, setIcon, setIconColor, setIconRules, setItem, setLabel, setLabelColor, setParent, setStaticIcon, setValueColor, setVisibility
-
Method Details
-
getButtons
List<ButtonDefinition> getButtons()Get the button grid buttons. This method should return a modifiable list, allowing updates to the list of buttons.- Returns:
- buttons
-
setButtons
Replace the button grid buttons with a new list of buttons.- Parameters:
buttons-
-