Package org.openhab.core.sitemap
Interface Webview
- All Superinterfaces:
NonLinkableWidget,Widget
A representation of a sitemap Webview widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Methods inherited from interface org.openhab.core.sitemap.Widget
getConfirmCmd, getConfirmCmdRules, getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getParent, getValueColor, getVisibility, getWidgetType, isStaticIcon, setConfirmCmd, setConfirmCmdRules, setIcon, setIconColor, setIconRules, setItem, setLabel, setLabelColor, setParent, setStaticIcon, setValueColor, setVisibility
-
Method Details
-
getHeight
int getHeight()Get the configured height of the widget. If no height is configured, 0 should be returned.- Returns:
- height
-
setHeight
Set the height of the widget, null means no height is configured.- Parameters:
height-
-
getUrl
String getUrl()Get the url to be embedded in theWebviewembedded frame.- Returns:
- url
-
setUrl
Set the url to be embedded in theWebviewframe.- Parameters:
url-
-