Package org.openhab.core.sitemap
Interface Selection
- All Superinterfaces:
NonLinkableWidget,Widget
A representation of a sitemap Selection widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionGet the switchMappings.voidsetMappings(List<Mapping> mappings) Replace the widget mappings with a new list of mappings.Methods 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
-
getMappings
Get the switchMappings. This method should return a modifiable list, allowing updates to the mappings.- Returns:
- mappings
-
setMappings
Replace the widget mappings with a new list of mappings.- Parameters:
mappings-
-