Package org.openhab.core.sitemap
Interface Image
- All Superinterfaces:
LinkableWidget,Parent,Widget
A representation of a sitemap Image widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionintGet the image refresh interval in s.@Nullable StringgetUrl()Get the url of the image.voidsetRefresh(@Nullable Integer refresh) Set the image refresh interval in s.voidSet the url of the video.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
-
getUrl
@Nullable String getUrl()Get the url of the image.- Returns:
- url
-
setUrl
Set the url of the video.- Parameters:
url-
-
getRefresh
int getRefresh()Get the image refresh interval in s. If no interval is set, 0 should be returned.- Returns:
- refresh
-
setRefresh
Set the image refresh interval in s.- Parameters:
refresh-
-