Uses of Interface
org.openhab.core.sitemap.Widget
Packages that use Widget
Package
Description
-
Uses of Widget in org.openhab.core.io.rest.sitemap
Methods in org.openhab.core.io.rest.sitemap that return types with arguments of type WidgetModifier and TypeMethodDescriptionSitemapSubscriptionService.collectWidgets(String sitemapName, @Nullable String pageId) -
Uses of Widget in org.openhab.core.sitemap
Subinterfaces of Widget in org.openhab.core.sitemapModifier and TypeInterfaceDescriptioninterfaceA representation of a sitemapButtonwidget.interfaceA representation of a sitemap Buttongrid widget.interfaceA representation of a sitemap Chart widget.interfaceA representation of a sitemap Colorpicker widget.interfaceA representation of a sitemap Colortemperaturepicker widget.interfaceA representation of a sitemap Default widget.interfaceA representation of a sitemap Frame widget.interfaceA representation of a sitemap Group widget.interfaceA representation of a sitemap Image widget.interfaceA representation of a sitemap Input widget.interfaceA representation of a sitemap linkable widget (a widget that can have children).interfaceA representation of a sitemap Mapview widget.interfaceA representation of a sitemap non-linkable widget (no children).interfaceA representation of a sitemap Selection widget.interfaceA representation of a sitemap Setpoint widget.interfaceA representation of a sitemap Slider widget.interfaceA representation of a sitemap Switch widget.interfaceA representation of a sitemap Text widget.interfaceA representation of a sitemap Video widget.interfaceA representation of a sitemap Webview widget.Methods in org.openhab.core.sitemap that return types with arguments of type WidgetModifier and TypeMethodDescriptionLinkableWidget.getWidgets()Get the childWidgets.Sitemap.getWidgets()Returns the top level list of widgets in the sitemap.Method parameters in org.openhab.core.sitemap with type arguments of type WidgetModifier and TypeMethodDescriptionvoidLinkableWidget.setWidgets(List<Widget> widgets) Replace the child widgets with a new list of widgets.voidSitemap.setWidgets(List<Widget> widgets) Replace the sitemap child widgets with a new list of widgets. -
Uses of Widget in org.openhab.core.sitemap.registry
Methods in org.openhab.core.sitemap.registry that return WidgetModifier and TypeMethodDescription@Nullable WidgetSitemapFactory.createWidget(String widgetTypeName) Creates a newWidgetinstance of typewidgetTypeName@Nullable WidgetSitemapFactory.createWidget(String widgetTypeName, Parent parent) -
Uses of Widget in org.openhab.core.ui.items
Methods in org.openhab.core.ui.items that return WidgetModifier and TypeMethodDescription@Nullable WidgetItemUIProvider.getDefaultWidget(@Nullable Class<? extends Item> itemType, String itemName) Provides a default widget for a given item (class).@Nullable WidgetProvides a widget for a given item.@Nullable WidgetRetrieves the widget for a given id on a given sitemap.Methods in org.openhab.core.ui.items that return types with arguments of type WidgetModifier and TypeMethodDescriptionItemUIRegistry.getChildren(LinkableWidget w) this should be used instead of LinkableWidget.getChildren() as there might be no children defined on the widget, but they should be dynamically determined by looking at the members of the underlying item.ItemUIRegistry.getChildren(Sitemap sitemap) this should be used instead of Sitemap.getChildren() as the default widgets have to be resolved to a concrete widget type.Methods in org.openhab.core.ui.items with parameters of type WidgetModifier and TypeMethodDescription@Nullable StateItemUIRegistry.convertState(Widget widget, Item item, State state) Convert the given state into@Nullable StringItemUIRegistry.getCategory(Widget w) Retrieves the category for a widget.@Nullable StringItemUIRegistry.getConditionalIcon(Widget w) Gets the icon for the widget.@Nullable StringItemUIRegistry.getFormatPattern(Widget w) Gets the format pattern for the widget value, retrieved from widget label, item label or item state description@Nullable StringItemUIRegistry.getIconColor(Widget w) Gets the icon color for the widget.@Nullable StringRetrieves the label for a widget.@Nullable StringItemUIRegistry.getLabelColor(Widget w) Gets the label color for the widget.ItemUIRegistry.getLabelSource(Widget w) Retrieves the label source for a widget.@Nullable Parentthis should be used instead of Widget.eContainer() as as the concrete widgets created from default widgets have no parent.@Nullable StateRetrieves the current state of the item of a widget orUnDefType.UNDEF.@Nullable StringItemUIRegistry.getUnitForWidget(Widget widget) Provide a widget specific String representation of aUnit.@Nullable StringItemUIRegistry.getValueColor(Widget w) Gets the value color for the widget.booleanItemUIRegistry.getVisiblity(Widget w) Gets the widget visibility based on the item stateItemUIRegistry.getWidgetId(Widget w) Provides an id for a widget.