Package org.openhab.core.sitemap
Interface LinkableWidget
- All Known Subinterfaces:
Buttongrid,Frame,Group,Image,Text
A representation of a sitemap linkable widget (a widget that can have children).
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionGet the childWidgets.voidsetWidgets(List<Widget> widgets) Replace the child widgets with a new list of widgets.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
-
getWidgets
Get the childWidgets. This method should return a modifiable list, allowing updates to the child widgets.- Returns:
- widgets
-
setWidgets
Replace the child widgets with a new list of widgets.- Parameters:
widgets-
-