Package org.openhab.core.sitemap
Interface Parent
- All Known Subinterfaces:
Buttongrid,Frame,Group,Image,LinkableWidget,Sitemap,Text
@NonNullByDefault
public interface Parent
Interface representing all sitemap entities that can be parents, should be extended by Sitemap and LinkableWidget.
- 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.
-
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-
-